If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Started by lat9 on 15 Oct 2017, 3:54 PM · Views: 160,515

Results 641 to 660 of 774
10 Sep 2024, 9:08 PM
#641
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0
10 Sep 2024, 11:18 PM
#642
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

jimmie:

here is picture https://jnsflooringandsupplies.com/Flooring/Tile_Stone/SFI_Porcelain_Wood_Plank/SFI_Porcelain_Wood_Plank_Field/Langley_Glazed_Porcelain_Wood_Look_Floor_Tile/Langley_6_x_36_Glazed_Porcelain_Wood_Look_Floor_Tile_Wooded_Vista_LL04
I download from manufacturers website
https://www.southlandfloors.com/d/sfi-langley-ll04-wooded-vista-tile/ll04
then I upload to https://bulkresizephotos.com/en?extension=png&resize_type=exact&resize_value=200&secondary_resize_value=200&transparent_background=false
and resize.

jimmie,
you downloaded a png and renamed it a jpg.

not sure what else to say about that.

from manufacturers website:

<div title="Langley by Sfi - Ll04 Wooded Vista" style="background-image: url("https://images.floorforce.com/Textures/16028/Ceramic-and-Porcelain/30cdc42f-a774-4604-8756-13bc3a4b1592/Images/LL04--LANGLEYLL04_500x500[B].png[/B]"); height: 400px; width: 100%; background-size: cover; background-position: center center;"></div>

from your website:

<div class="fotorama__stage__frame fotorama__loaded fotorama__loaded--img fotorama__active" style="left: 0px;">
<img src="images/product_pictures/LL04[B].jpg[/B]" class="fotorama__img" style="width: 1250px; height: 1250px; left: 0px; top: 0px;">
</div>

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

11 Sep 2024, 1:19 AM
#643
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

So I can't convert pictures. I think I read somewhere that product pictures should be same size and type? Trying to keep listing pages neat and tidy

11 Sep 2024, 3:10 AM
#644
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,974
Plugin Contributions:
8

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

jimmie:

So I can't convert pictures. I think I read somewhere that product pictures should be same size and type? Trying to keep listing pages neat and tidy

don't put words in my mouth...

from the evidence that is posted on this thread, you did not convert the image from a png to a jpg. you just changed the file extension.

you may have resized it; but again from what has been posted on this thread, as well as what i have looked at on the 2 sites, all you did was change the extension name.

feel free to continue to defend your position. i will graciously back out from further discussion of it.

although i still think image handler determining the file type and acting accordingly would be a beneficial addition to the plugin. if i feel so inclined, perhaps i will take a stab at it. right now, i am not feeling so inclined.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

11 Sep 2024, 4:57 AM
#645
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

jimmie:

So I can't convert pictures. I think I read somewhere that product pictures should be same size and type? Trying to keep listing pages neat and tidy

Use a proper software e.g. GIMP to prepare your images before you upload

With GIMP you can read out the image information, set / change the color profile and export to a proper file type e.g. JPG.

On the screenshot you see what Carl already said. So you can always check yourself.

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

11 Sep 2024, 7:11 AM
#646
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

FWIW for batch processing of images I've found Irfanview to cover all my requirements over many years.

As far as handling user errors, I think that as long as the site continues to function, a debug log is enough to go on.
OP now knows the problem and will fix it.
Perhaps the specific case could be added to IH documentation to save others some time.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

12 Sep 2024, 1:50 AM
#647
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

When using windows paint, is that not able to take a png and save as jpg. Just sucks cause we have over 10000 product pictures to fix.

12 Sep 2024, 2:42 AM
#648
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

jimmie:

When using windows paint, is that not able to take a png and save as jpg. Just sucks cause we have over 10000 product pictures to fix.If your host provides the option in cPanel, use the Images function under the Files section to change all files in any directory from jpg back to png.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

12 Sep 2024, 12:19 PM
#649
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
971
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

torvista:

FWIW for batch processing of images I've found Irfanview to cover all my requirements over many years.

As far as handling user errors, I think that as long as the site continues to function, a debug log is enough to go on.
OP now knows the problem and will fix it.
Perhaps the specific case could be added to IH documentation to save others some time.

so if i upload entire image folder into irfanview, i can rename all pictures?
do u know the settings to use in irfanview to make this happen?

19 Sep 2024, 4:41 AM
#650
heavensportal avatar

heavensportal

New Zenner

Join Date:
Jun 2021
Posts:
95
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I installed IH5, got no notice in the header of it being installed, I found the IH settings and such. The image shows in product listing and items page but nowhere else. Store just gives the product info with no image. Is it due to me having the store in maintenance mode, I reuploaded the files to their spots. I cleared its image cache but when I go to the link for managing the images it is blank. I have them named as they were in 1.39h...name.jpg ,name_01.jpg, This is from IH area,maybe I did not set the sizes like I should have?

19 Sep 2024, 8:38 AM
#651
shop_suey avatar

shop_suey

Zen Follower

Join Date:
Feb 2014
Location:
Germany
Posts:
375
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

heavensportal:

I installed IH5, got no notice in the header of it being installed, I found the IH settings and such. The image shows in product listing and items page but nowhere else. Store just gives the product info with no image. Is it due to me having the store in maintenance mode, I reuploaded the files to their spots. I cleared its image cache but when I go to the link for managing the images it is blank. I have them named as they were in 1.39h...name.jpg ,name_01.jpg, This is from IH area,maybe I did not set the sizes like I should have?

Have images been displayed before you installed IH?

roller-aus-blech.de
Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

19 Sep 2024, 4:09 PM
#652
heavensportal avatar

heavensportal

New Zenner

Join Date:
Jun 2021
Posts:
95
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

yes my test images. should I uninstall it then restart Firefix and try again? the next mod iwanted to try is the ceon url one, is it updated for 2.01

19 Sep 2024, 6:16 PM
#653
heavensportal avatar

heavensportal

New Zenner

Join Date:
Jun 2021
Posts:
95
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

UPDATE, eveything shows up today. I figured out that when I added the product I have my main cat>vendor cat name. then add products but I had entered the product somehow wrong and once I set it proper all worked.

2.0.1 is a different critter and almost everything is like a brand new store with things slightly different...

17 Nov 2024, 6:29 PM
#654
dirks avatar

dirks

New Zenner

Join Date:
Sep 2024
Location:
Noord Holland
Posts:
24
Plugin Contributions:
4

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Dutch translation.

DirkS

Falling is not bad, staying down is.
Zen Cart version 1.5.8a, PHP version 7.4.33

1 Jan 2025, 9:09 AM
#655
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Zen cart v2.1.0, IH 5.3.5. Fresh install.
The "Additional Images" button on the product page does not show up even additional images are added and displays fine in Admin. Is there a setting to enable the "Additional Images" button?
The button shows up fine on the product pages for which I did not use IH (before installing IH):
https://www.nordfield.com/index.php?main_page=product_info&cPath=65&products_id=181
When using IH:
https://www.nordfield.com/index.php?main_page=product_info&cPath=65&products_id=180

1 Jan 2025, 1:38 PM
#656
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

DML73:

Zen cart v2.1.0, IH 5.3.5. Fresh install.
The "Additional Images" button on the product page does not show up even additional images are added and displays fine in Admin. Is there a setting to enable the "Additional Images" button?
The button shows up fine on the product pages for which I did not use IH (before installing IH):
https://www.nordfield.com/index.php?main_page=product_info&cPath=65&products_id=181
When using IH:
https://www.nordfield.com/index.php?main_page=product_info&cPath=65&products_id=180
That site shows that it's in maintenance mode.

Zen Cart 2.1.0 added a new setting in Configuration // Images: Additional Images matching pattern. On a fresh install, that setting is forced to **strict **-- while the pre-zc210 default is legacy.

I'm guessing that (a) while the zc210 installation was a fresh install, that additional images were present in the site using the 'legacy' naming convention and (b) that IH has not (yet) been updated to recognize the 'strict' naming convention.

1 Jan 2025, 4:51 PM
#657
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Oh I should have been able figure this out myself, indeed the problem was that I had changed "" to "-" in bootstrap_additional_images.php (for a foolish reason). Once I changed that back to "" it works fine :thumbsup:

20 Jan 2025, 12:21 AM
#658
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Anyone have this warning pop up from time to time?

[19-Jan-2025 18:59:10 America/New_York] Request URI: /justuptown/index.php?main_page=product_cards_ufs_info&cPath=1_11&products_id=794, IP address: 127.0.0.1, Language id 1
#0 [internal function]: zen_debug_error_handler()
#1 E:\xampp\htdocs\justuptown\includes\classes\bmz_image_handler.class.php(953): imagecreatefrompng()
#2 E:\xampp\htdocs\justuptown\includes\classes\bmz_image_handler.class.php(750): ih_image->load_imageGD()
#3 E:\xampp\htdocs\justuptown\includes\classes\bmz_image_handler.class.php(430): ih_image->resize_imageGD()
#4 E:\xampp\htdocs\justuptown\includes\classes\bmz_image_handler.class.php(282): ih_image->get_resized_image()
#5 E:\xampp\htdocs\justuptown\includes\functions\extra_functions\functions_bmz_image_handler.php(154): ih_image->get_local()
#6 E:\xampp\htdocs\justuptown\includes\functions\html_output.php(214): handle_image()
#7 E:\xampp\htdocs\justuptown\includes\templates\bootstrap\templates\tpl_modules_main_product_image.php(19): zen_image()
#8 E:\xampp\htdocs\justuptown\includes\templates\bootstrap\templates\tpl_product_cards_ufs_display.php(61): require('E:\\xampp\\htdocs...')
#9 E:\xampp\htdocs\justuptown\includes\modules\pages\product_cards_ufs_info\main_template_vars.php(153): require('E:\\xampp\\htdocs...')
#10 E:\xampp\htdocs\justuptown\includes\templates\bootstrap\common\tpl_main_page.php(233): require('E:\\xampp\\htdocs...')
#11 E:\xampp\htdocs\justuptown\index.php(94): require('E:\\xampp\\htdocs...')
--> PHP Warning: imagecreatefrompng(): gd-png: libpng warning: iCCP: known incorrect sRGB profile in E:\xampp\htdocs\justuptown\includes\classes\bmz_image_handler.class.php on line 953.

Before I start recursing over every image in my directory, it's a lot, anyone have any ideas of a mend? [I'm 99% sure it's because some images being loaded have an iCCP color profile set to it.]

29 Jan 2025, 2:50 PM
#660
retched avatar

retched

Totally Zenned

Join Date:
Jun 2007
Location:
Bronx, New York, United States
Posts:
949
Plugin Contributions:
3

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

brittainmark:

googled error got this
https://stackoverflow.com/questions/22745076/libpng-warning-iccp-known-incorrect-srgb-profile may help.

Yup that's the same answer I found a while ago but was hoping there was another way to fix it besides pngcrushing almost 10K images. That did make it work in the long run though.