Forums / General Questions / something wrong about length of additional image name

something wrong about length of additional image name

Views: 769

Results 1 to 7 of 7
27 Oct 2012, 1:00 AM
#1
andy2012 avatar

andy2012

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

something wrong about length of additional image name

something wrong about length of additional image name,

maybe the name of additional image is too long,

and the system automatically generated LRG at the name ends,

like *******1_1.jpg turns to *******1_1_LRG.jpg?

can someone help me, thank you in advance!

27 Oct 2012, 1:04 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: something wrong about length of additional image name

I don't see anything wrong there.

Large images do get the _LRG added to their names.
See this article for explanation: http://www.zen-cart.com/content.php?100-how-do-i-add-multiple-images-to-a-product

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Oct 2012, 1:27 AM
#3
andy2012 avatar

andy2012

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

Re: something wrong about length of additional image name

thank you, the system can still recognize those additional images,
but with fual_slimbox_lightbox this addon, then main image is ok, additional images can't be shown,
always loading status, that's the problem

27 Oct 2012, 1:44 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: something wrong about length of additional image name

So are you saying this is a problem with your addon?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Oct 2012, 2:13 AM
#5
andy2012 avatar

andy2012

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

Re: something wrong about length of additional image name

we can change the product name length limitation in database, i want to know how to change the name length limitation of additional images

27 Oct 2012, 2:26 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: something wrong about length of additional image name

The names of additional images are NOT stored in the database.
It is not a database problem.
The additional images names come from the FILENAMES themselves, and are strictly based on the naming convention as described in the FAQ article mentioned.

You said: > like *******1_1.jpg turns to *******1_1_LRG.jpg?
Since the image names you quoted are NOT being truncated, there is no database problem with the images.

Or maybe you're not explaining the complete problem clearly enough, because I'm definitely not understanding what your symptoms are. All I know is that you think there's a problem with the length of additional image names ... but Zen Cart doesn't impose any limits to the additional image filenames.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Oct 2012, 2:44 AM
#7
andy2012 avatar

andy2012

New Zenner

Join Date:
Aug 2012
Posts:
14
Plugin Contributions:
0

Re: something wrong about length of additional image name

i just turn off the fual-slim-box, using the default pop-up now,

sincerely thank you for your help.

Have a nice day!