Hello everybody,
I'm using OC Version 3.0.3.8 and when I upload png or jpg image it shows correct on catalog page, now if I upload webp image it shows correct thumbs at admin but not show at catalog page.
clicking over the image link I saw that all png and jpg images are poiting to "image/cache" and all webp images are poiting to "home/xxx/public_html/xxx/image/catalog/"
any idea how to fix this wrong path only for webp uploads ?
thanks a lot!
I'm using OC Version 3.0.3.8 and when I upload png or jpg image it shows correct on catalog page, now if I upload webp image it shows correct thumbs at admin but not show at catalog page.
clicking over the image link I saw that all png and jpg images are poiting to "image/cache" and all webp images are poiting to "home/xxx/public_html/xxx/image/catalog/"
any idea how to fix this wrong path only for webp uploads ?
thanks a lot!
OpenCart 3.0.3.8 doesn't support webp images. How exactly did you upload your images?
Have you tried the 3.0.x.x_Maintenance release (based on 3.0.3.8, with added bugfixes and PHP 8 support)? That one has support for webp images.
Have you tried the 3.0.x.x_Maintenance release (based on 3.0.3.8, with added bugfixes and PHP 8 support)? That one has support for webp images.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Hello sir,JNeuhoff wrote: ↑Sun Sep 17, 2023 10:25 pmOpenCart 3.0.3.8 doesn't support webp images. How exactly did you upload your images?
Have you tried the 3.0.x.x_Maintenance release (based on 3.0.3.8, with added bugfixes and PHP 8 support)? That one has support for webp images.
Thank you so much for answering
I followed this method : viewtopic.php?f=121&t=210243&p=748237#p747798
and I installed this extension : https://www.opencart.com/index.php?rout ... =64&page=2
I added WebP to the mime server too at system settings.
WebP works fine at admin, thumbs and upload; the only problem is that when I add an image to a product, in the admin area it shows correct, but on the catalog page it shows a broken link because it points to a crazy path.
I tried to edit the OC config file, and I swapped the path for image from : define('DIR_IMAGE', '/home/okami/public_html/decor/image/'); to define('DIR_IMAGE', 'image/'); and WebP images started to show, but the favicon stopped showing, and a few other images show broken.
Webp images point to this path :
Code: Select all
https://website.com/home/okami/public_html/decor/image/catalog/webp/concrete-look-plaster-traditional-rustic-dark-gray.webp
Code: Select all
https://website.com/image/cache/catalog/Rustic/concrete-look-plaster-traditional-rustic-cromium-applied-270x270.png
Code: Select all
https://website.com/image/catalog/webp/concrete-look-plaster-traditional-rustic-dark-gray.webp
We also have code for webp images in OpenCart that could be adapted if anyone wants to contact us as a paid job.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hello Paul,paulfeakins wrote: ↑Mon Sep 18, 2023 7:52 pmWe also have code for webp images in OpenCart that could be adapted if anyone wants to contact us as a paid job.
where should I contact u ?
info@antropy.co.uk ?
Thanks
Have you tried these ?
https://www.opencart.com/index.php?rout ... n_id=38025
or paid one from Mona
https://www.opencart.com/index.php?rout ... n_id=43173
https://www.opencart.com/index.php?rout ... n_id=38025
or paid one from Mona
https://www.opencart.com/index.php?rout ... n_id=43173
May I know how you define $target_file
$this->log->write($target_file);
$this->log->write($dir);
$this->log->write($target_file);
$this->log->write($dir);
If you are interested in discussing your web development needs with me, please feel free to contact me at
soh.bheng@gmail.com
Exactly.donesmarcos wrote: ↑Tue Sep 19, 2023 4:00 amHello Paul,paulfeakins wrote: ↑Mon Sep 18, 2023 7:52 pmWe also have code for webp images in OpenCart that could be adapted if anyone wants to contact us as a paid job.
where should I contact u ?
info@antropy.co.uk ?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hello, the free version yes, but didn't work, about paid Mona extension I didn't purchase cause I don't know if it will work, I asked Mona but she didn't answer if it solve my problem or not.Majnoon wrote: ↑Tue Sep 19, 2023 3:32 pmHave you tried these ?
https://www.opencart.com/index.php?rout ... n_id=38025
or paid one from Mona
https://www.opencart.com/index.php?rout ... n_id=43173
Who is online
Users browsing this forum: No registered users and 10 guests