Forums / Customization from the Admin / admin-config-images

admin-config-images

Locked

Started by cxdmedia on 18 Nov 2008, 12:28 AM · Views: 2,105

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
18 Nov 2008, 12:28 AM
#1
cxdmedia avatar

cxdmedia

New Zenner

Join Date:
Nov 2008
Posts:
10
Plugin Contributions:
0

admin-config-images

Hi,

I can't figure this out. I've set all image sizes in the:

admin-config-images to:

Width 167
Height 251

But, every image I upload defaults to 80x120?? Its driving me crazy :-)

here's the page where the image is defaulting to 80x120:

http://tattoodesignmall.com/index.php?main_page=product_info&cPath=2&products_id=1

thanks for any help you can offer!

-Chris

18 Nov 2008, 12:35 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: admin-config-images

The image on the product-info page uses the "medium image" settings.

You can find instructions for providing multiple image sizes for your products in the FAQ section: https://www.zen-cart.com/tutorials/index.php?article=58

.
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.

18 Nov 2008, 12:43 AM
#3
cxdmedia avatar

cxdmedia

New Zenner

Join Date:
Nov 2008
Posts:
10
Plugin Contributions:
0

Re: admin-config-images

thanks, I read the help page, but I still am uncertain where you actually set the size of the medium image. I do not see any settings under the admin panel for medium?

18 Nov 2008, 12:47 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: admin-config-images

Product Info - Image Width
Product Info - Image Height

.
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.

18 Nov 2008, 12:55 AM
#5
cxdmedia avatar

cxdmedia

New Zenner

Join Date:
Nov 2008
Posts:
10
Plugin Contributions:
0

Re: admin-config-images

haha. I'm the idiot. I seem to have changed every size in the admin panel but that setting. Unreal :-)

Thanks for the info, much appreciated!!!

-Chris

29 Nov 2008, 9:26 AM
#6
tfmurphhk avatar

tfmurphhk

New Zenner

Join Date:
Nov 2008
Location:
South Florida
Posts:
19
Plugin Contributions:
0

Re: admin-config-images

Product Info - Image Width
Product Info - Image Height

I've changed both of those... to huge numbers like 200 and 400 and even 800... and no matter what, I still get the same image size on the product page.

Please help... define further perhaps.

Thanks

Tom

29 Nov 2008, 1:14 PM
#8
tfmurphhk avatar

tfmurphhk

New Zenner

Join Date:
Nov 2008
Location:
South Florida
Posts:
19
Plugin Contributions:
0

Re: admin-config-images

Well, now that you ask that I may see part of the problem.. but still not the solution...

The images are stored in my store/images file... not store/images/medium folder.

But to answer the question, they are 550 x 712

Thanks for the assistance.

Tom

29 Nov 2008, 1:27 PM
#9
tfmurphhk avatar

tfmurphhk

New Zenner

Join Date:
Nov 2008
Location:
South Florida
Posts:
19
Plugin Contributions:
0

Re: admin-config-images

Oops.. maybe the problem was that I was changing the width.. but not the height. Once I change the width to be 200 and the height to be 300... all seems to work fine.. and it scales to 200 x 259.

But that leaves me with yet two more questions.. how to I tell Zen to put the pics in the medium folder.. and how do I put some space in between the "Previous - Return to Product List - Next" and the actual item. It all seems jumbled up together at the top

http://encore-ephemera.com/store/index.php?main_page=product_info&cPath=1_6&products_id=4

Thanks again.

Tom

30 Nov 2008, 12:08 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: admin-config-images

For the spacing, first find in your stylesheet/*Image Display*/ #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage { margin: 0em 1em 1em 0em ; }Separate out #productMainImage and give it a different top margin/*Image Display*/ #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage { margin: 0em 1em 1em 0em ; } #productMainImage { margin: 0.8em 1em 1em 0em ; }This should make the image align with the top of the product name. If you want more space, find this```
/navigation/

.navSplitPagesResult {}
.navSplitPagesLinks {}

.navNextPrevCounter {
margin: 0em;
font-size: 0.9em;
}
.navNextPrevList {
display: inline;
white-space: nowrap;
margin: 0;
padding: 0.5em 0em;
list-style-type: none;
}


.navNextPrevWrapper {padding-bottom: 0.6em;}

near it. Adjust to taste.

For the image files, are you using Image Handler 2, or the standard Zen Cart setup?
If you are using the standard, you need to FTP the medium images to /images/medium/ and the large images to /images/large/. You should use the product editing page to browse to the small/thumbnail images, so they are correctly associated with their products.

An important question: do you have large, medium and small copies of the product images, or only one copy at large size? If you are trying to make Zen Cart display your large images at thumbnail size, they will still take as long to load as the full size version (because they *are* the full size version), and the quality will be degraded because the browser is forced to make a quick & dirty resizing.
30 Nov 2008, 8:07 AM
#11
tfmurphhk avatar

tfmurphhk

New Zenner

Join Date:
Nov 2008
Location:
South Florida
Posts:
19
Plugin Contributions:
0

Re: admin-config-images

Glenn, thanks for the reply.

  1. I added your stylesheet changs.. and all worked fine. Thanks!

  2. I was NOT using IH2 but have since added it and all works fine.. almost. I tried to add a second image to one of my product listing and got the following reply from IH -

**Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')**

Unfortunately I have no idea what that means.. or what caused it. Can you advise?

Thanks in advance.

Tom