Jump to content

benbyf

Members
  • Posts

    796
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by benbyf

  1. Hi, Got a site with a mystery up and down performace, sometimes it takes a couple of seconds to return teh page anmd sometimes a minute!!! Just wondered if there was strategies to work out where the work is being done / what hte processes are thats causing it?
  2. Thought I'd post here how I solved my issue in the end by doing the arranging in the frontend and saving the data back to be used by the template.
  3. Thanks! Will check it out, and I guess IMagick too, as your right, I'm looking to generate images and then use them for the page's OG image
  4. Hi! I was looking into automatically creating OpenGraph (OG) images from page assets and wondered if this would be possible in PW using a php image library and a template for the image??? Little out of my depth... But basically create an image template and process a page title and image on save into it, to then be saved as an image to that page. Any thoughts would be great.
  5. F**k it dont worry, released it wont work anyways... I really need to starting talking to myself about these things before posting on here. Going to add videos to the mix too so going to have to track the order external to the imagefield order anyway ?‍♂️
  6. Hi @Jan Romero thanks but, im kinda lost. If I posted a list of numbers to the server say: 2,4,1,3 to represent second image should now be first, fourth should be second... and so on. How would I tel the image field to do the reorder..? Can i just get the values rearrange in the wireArray and use the set() and save()?
  7. HIIIII Was looking at the docs for the wireArray, files and images fields but cant work out the best strategy for rearranging files that already exist in the field -> I'm trying to upload images in the admin, then in the front end rearrange and save back the new order to the field. Any hope would be awesome
  8. ok I think i've solved it. gonna use https://packery.metafizzy.co/ and do the arrangement in the frontend for logged in users instead, (this means it'll be easier to mix media types and just save an order somewhere for that page)....., ? fingers crossed
  9. sure, I use webm and mp4's where i can, just be nice to use images OR have some good way of dropping hundreds of images onto a page, re arrange them and add videos in the same area... which ultimately is my issue. Repeaters are good option but theres no way to quickly make LOTs of repeaters with drag and drop files... I think the best solution for me would be able to drop a load of files into a field and for it to populate a repeater filled with the same number of items filling the first image or file field it fields on each new item...
  10. Hi @horst thanks for getting back! I guess I have a very specific use case. My client uses a lot of gif’s which are bloating the front end… been migrating most images to webp and found that webp also does animation. Did a quick test and found a webp animation was roughly 10x smaller than the small gif. woudl love to allow my clients to upload and view in the admin as they do a lot of arranging of images. However, encoding an image to webp doesn’t keep any animations on the server (also the quality is worse going from giff to webp instead of jpg slides to webp). I guess I can’t see any reason why if presented with a webp upload the image field couldn’t just display as is in the backend… or maybe toggle this on in settings?
  11. Tested on PW 3.0.148 on the image field and the site is able to upload and present the webp image on the front end, but in the admin I get a blank transparent image with the warning [image url].webp - not a supported image type Just wondered if the image field in new PW versions had a fix for this or not?
  12. Hi! I did a recent test and found the file size save from gif to webp was about 10x for comparable look. I tested using teh google CLI as linked above but wondered if it was possible to have the processwire $image->webp() method also produce a animated webp? I'm only getting static images out when tested... do I need to install something else on the server or are we not there yet?
  13. there happen to be a module to grab the path of a image to be rendered by PW and change to another, e.g. to use on dev site so as not to have to download all the same images (which there are lots) from the live site for testing?
  14. Thanks, I think there was several things, I hadn't verifed the email account properly, I found the PW logs and sorted it out, then found that sendgrid simply isn't logging anything, not a peep... emails are getting sent so i suppose it just takes a while to register on their stats or something but its really strange.
  15. these other ones havent been touched on 7 or 9 years :(
  16. Hi Hi, trying to use this module with Snedgrid but seem to be un able to know if the communication is happening... I've set up an account, verified the domain and email address, set up an API key and adding the code as follows but cant seem to get any emails or activity on sendgrid... anything missing or is this module no longer compatible? $mail = $modules->get('WireMailSendGrid'); $mail->to("******@gmail.com"); $mail->from("site@*********"); $mail->subject("test"); $mail->bodyHTML("hello"); $success = $mail->send();
  17. Upgrading from PW 2.7 to 3.0.x and tried several tagged versions of 3 and keep getting Error: Class 'ModuleJS' not found. Changed folder permissions, but still getting it. Happen to have any leads to how to resolve?
  18. ok, so somehow its working.... fingers crossed, not sure what but did a mix of all the settings and something has started working with one of the combinations... FML i hate email also this was really useful by the way
  19. okkkkk turns out that using mail() sends fine but wiremail() does not ? @horst any thoughts on why this might be the case?
  20. so theres a mailbox set up on the server and I'm connecting to it to send from the PW site via wiremail
  21. Thanks @netcarver, yeah email is some sort of hell
  22. Happen to be any email DNS ninja's out there?! Running a email server using mailinabox on a digitalOcean droplet and sending email from a PW site using wireMailSMTP. Something is set wrong as I mostly SMTP errors: Error in hnsmtp::send : 554 5.7.1 <*******@gmail.com>: Relay access denied when sending out emails. logins etc are correct and I get this error when sending. Anyone happen to know what might be happening here or what might be missing from my domain DNS to make this the case..?
  23. HELLO! Trying to use Pug templating engine and have downloaded and installed both TemplateEngineBase and pug module, however pug itself seems to be missing as the module throughs an error saying Phug isn't found. How should I install pug itself??
  24. Did anyone take this over? would love to start using it for general tasks like installing modules, setting up fields / templates, user
×
×
  • Create New...