![]() |
Image Size in Admin View Products |
Post Reply ![]() |
Author | |
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 10-February-2010 at 1:51am |
Hello
I am trying make the images larger on the backend, admin screen for the Product Search Results page. Right now, they are tiny. Can't seem to find the place to change that. I have looked in srcPrds.asp, inc_srcPrds.asp and LocateProducts.asp with no luck. Anyone know where else to look ? Thanks |
|
![]() |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Curt, it's a little tricky.
xml_srcPrds.asp is the file that displays the listing. See line 108. However, that line refers to class='pcShowProductImageM' which is in pcStorefront.css. So anything you change on that class may hose your store if you use format M (multiple add to cart) category page.
That means that if you do use that format, you may want to create a duplicate of that class, reference it in the above file, and finally (you knew we'd get around to this eventually) alter the image size references so you can see the silly things in the admin.
Have fun. Don't be nervous.
|
|
![]() |
|
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Ha! I'm just a nervous ranch hand, riding my broncing buckoo. I will give this a look see. Thanks Greg.
|
|
![]() |
|
![]() |
|
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Okay, I don't use the multiple add to cart feature so I changed the class='pcShowProductImageM' to 125px by 125px BUT it didn't change the image size in the admin. Somewhere, the code is saying to size the thumb images to 25px by 25px. I did a search for that 25px in the files and couldn't find it. Next thoughts?
|
|
![]() |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
how wide was your search? site-wide? Or just the immediate script? The 25 is likely in a CSS. Check your mail.
|
|
![]() |
|
netprofits ![]() Certified ProductCart Developers ![]() Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
For Control Panel modules, the styles are in pcv4_ControlPanel.css (in the pcadmin folder). Search for:
.pcShowProductImageM { height: 25px; width: 25px; text-align: left; padding: 0 5px 0 5px; } And change the height and width accordingly. Edited by netprofits - 10-February-2010 at 10:21am |
|
![]() |
|
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Netprofits- I don't see that file. I am running version 3.51a, if that helps.
|
|
![]() |
|
![]() |
|
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Greg: I did a sitewide search.
|
|
![]() |
|
![]() |
|
Greg Dinger ![]() Certified ProductCart Developers ![]() ![]() Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
![]() ![]() ![]() ![]() ![]() |
Dan - he is on v3.51a. And now that I look, you are right, pcShowProductImageM is also defined in pcControlPanel.css
|
|
![]() |
|
avalight ![]() Newbie ![]() Joined: 21-September-2007 Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Okay, got it. the dimension of the admin images are located in the pcControlPanel for my version 3.51a.
Thanks guys! |
|
![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |