rocketpig Posted November 15, 2007 Posted November 15, 2007 Okay, I barely know my way around PHP but I don't think this should be too difficult... I need to create a new class of image on the product page... Currently the size of the image is set at "SMALL_IMAGE_WIDTH" and "SMALL_IMAGE_HEIGHT" and I want to increase the size of the image for the product page only... Otherwise I would just change the attributes in the admin panel, but that obviously changes the size of all the images on the front page and whatnot. I figure I just need to change that code in product_info.php to something like "PRODUCT_IMAGE_HEIGHT" and "PRODUCT_IMAGE_WIDTH" but I can't find the PHP page that defines the "SMALL_IMAGE" attributes so I can create the new class of image sizes for the product image. Any help would be appreciated. I'm a total PHP n00b.
germ Posted November 16, 2007 Posted November 16, 2007 Admin -> Configuration -> Images -> Small Image Width & Small Image Height ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
rocketpig Posted November 16, 2007 Author Posted November 16, 2007 Admin -> Configuration -> Images -> Small Image Width & Small Image Height ;) The problem is that the Small Image details in the admin panel change the image size for everything. I'm looking just to change the image size on the product page itself, which will require a new image class in the PHP file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.