Jump to content

Gazley

Members
  • Content Count

    520
  • Joined

  • Last visited

Everything posted by Gazley

  1. Hi @mciccone - I saw that myself but, I couldn't get it to work at all. After your suggestion, I just tried it again and still, no joy. Dunno <shrug> If you have been able to make that work, I'd be interested to see the markup. For now, @3fingers approach works fine but, I just wondered whether there is a "definitive" approach to this recommended by UIKit or, whether it's one of those cases where there is just more than one way to "skin a cat", so to speak! Thanks for the heads-up!
  2. @3fingers - awesome! Thanks for the heads-up. So simple when you know how!
  3. Hi there, Just started with UIKit3. When marking up a grid, the gutter defaults to medium. If I add uk-child-width-1-3, my items wrap nicely but, whilst they are separated by the gutter, they sit on top of each other without gutter/margin in the vertical. What is the best approach to have equal space both horizontally and vertically with a grid's child items. Also, what is the best approach to reducing that space at smaller breakpoints? Many thanks!
  4. Thank you @abdus - you're the man!
  5. Hello @abdus - many thanks for your code and I understand where you are coming from with this. What I am basically trying to understand is with respect to the image represented by $page->images->first, which image from my example scenario would I put into ProcessWire in the first place - gazley_flat.jpg or gazley_web.jpg? I hope I'm making some sense here
  6. Hi there, I'm getting reasonably familiar with the approach of using srcset and sizes. However, I'm still somewhat confused about the base/reference image to use in PW. So, here's my use-case: I have an image in Photoshop that has been airbrushed and post-processed called gazley.psd. The layers are flattened into a JPEG that may be 15 -> 30 mb in size and the pixel width may be circa 3000, so now, we have gazley_flat.jpg, not web optimized. If I save that image "for web", it might reduce the image size by some 50% giving me gazley_web.jpg. However, this is obviously still way too big to use in an image tag! So, I might want to use an AR of 3:4 where the maximum rendered image will only ever be, say, 960px wide. However, I need 2x and 3x density depending on the device/screen that the image is ultimately rendered on. Considering the above requirement/use-case, what would be the correct approach to give me what I need? Many thanks!
  7. @Sanyaissues - pretty nice too! Thanks for pointing this out. So many cool solutions
  8. Hey @abdus, hope you're well. Thanks also for pointing me to these great javascripts I also didn't know about these little beauties either. I now have plenty to work with. I appreciate the heads-up! Cheers!
  9. Hi @DaveP - thanks so much for pointing me towards Intercooler! It looks awesome and I hadn't previously heard of it
  10. Hi, I'd like to add a continuous scroll effect to the home page of a site. I haven't done this before and wondered whether there is a "go to" solution that is recommended? Many thanks!
  11. Hey, @abdus - that's awesome information! Thank you very much for highlighting the size method and the hooking approach too. I'll get a solution from what you have pointed out to me. Cheers!
  12. Hi @abdus , I mean that if a user clicks on the square image, I'll render it in a lightbox as a full portrait image (hence using the word "mode" which I can see now is a little confusing!). By this, you'll now understand that I am talking about the square image being rendered in the front end of the system. Furthermore, I want to create a square image taking a crop from the center of the image, and if possible, trying to focus the crop around the main face in the original image. Many thanks for your input!
  13. Hi there, I'm looking to render some square images that are based on portrait originals. When the image is selected, I'll display it in portrait mode but when the images are in a "summary" mode, I want them square. What would be the best way to generate a square image from a portrait original? FYI, I would ideally prefer these images to based on IMG tags and not background images. Cheers!
  14. Thanks, Mike. I've got a handle on it all now. Just me being a dumb@ss
  15. Hi @Mike Rockett Sorted out the problem and it seems it was to do with my "understanding" of Laragon. I was physically selecting my laragon/www/angie directory as my document root. This allowed me to run angie.local but failed miserably using angie.local/processwire. When I selected c:\laragon\www as my document root, they both work. For some reason, I thought you had to select the directory of the project you were working on but it seems, I missed the point here. Is my "realisation" your understanding too? Cheers
  16. Hi @Mike Rockett - yep, it all works fine. I'm confused because the request for the processwire page isn't hitting PW at all. So, I'm guessing it's something to do with the web server but, I haven't touched any of that stuff in Laragon. It's worked fine from the outset and just this weirdness today when trying to get into the admin page for the first time in days. Just been building out twig templates and getting used to UIKit3 so, done nothing in the backend for a while.
  17. Hi @dragan, Just an aside, I put some debug code into the site root folder's index.php and noticed that it is hit when I load the site/homepage (angie.local/) but it isn't hit when I load angie.local/processwire !? Any thoughts? Thanks.
  18. Hi @dragan, The frontend is fine. I checked the admin name and it is "processwire". I also did a session redirect from inside the home page but got exactly the same 404 response. This is really weird - according to the DB, the last time the admin was accessed (by me only) was 24/8. I haven't touched anything to do with this, templates, DB, nothing. Dunno?
  19. Hey guys, I'm using Laragon (as pointed out by @Mike Rockett and it's really great. However, today, I tried to go into the admin pages under the URL http://angie.local/processwire and for some strange reason, I'm just getting a 404: Not Found The requested URL /processwire was not found on this server. I haven't changed a thing and am not sure where to start with this. I have never created a PW site without referencing the admin but any name other than "processwire". Any suggestions much appreciated. Cheers!
  20. Hey @Mike Rockett - had some fun last night trying to edit the hosts file on Windows 10. Lots of Googled threads on issues surrounding this none of which worked. After lots of messing around, I finally discovered that the antivirus program on the machine had locked the file in a process (for security reasons). Deep in its configuration, I found a setting to release the hosts file. When I did that, I was then able to add the angie.local reference. When I looked again, I also discovered that Laragon has added the same line into hosts with a comment "some Laragon magic!" So, it seems that Laragon will update hosts as long as it's writable. Thanks for your help with this Mike - I appreciate it
  21. @Mike Rockett - just to clarify, I have set up a project/folder called "angie". If I type "angie.dev" in the browser, I get the page in the attached image. If I just type localhost, I get what I need, the document root of the c:\laragon\www\angie folder. This is just fine, but, some of the documentation I've read suggests that you can type http://angie.dev/ and the page will load. Obviously, I'm not seeing this. Any thoughts? Cheers.
  22. @Mike Rockett - that's really cool! I've added PW and it creates the directory structure and contents. However, when I try and access the site, it just says "Site can't be reached"? Tried a few different names but no joy. Any ideas? Sorted it... doh Cheers!
  23. @Mike Rockett - thanks for your advice. Scoop looks really good! I actually installed Laragon today and it appears to give me what I need. The terminal is nice and it even gave me Vim from the command line. Pretty sweet Hey, @abdus - I tried installing again with no luck. I then added the missing profile and re-installed and all seemed OK until I entered Powershell. It just errored and then said something about the profile wasn't digitally signed. It said delete it or rename it. More crashing ensued and then, I gave up! It looks really good but, given the installation issues I've had, the juice isn't worth the squeeze.
  24. Hi @abdus - many thanks for the heads-up on Chocolatey. Actually, I had already tried it and got a "WARNING: Not setting tab completion: Profile file does not exist at..." error. Otherwise, it looked really good but, I couldn't actually work out whether it was installed properly or not?
×
×
  • Create New...