sgtbash Posted April 25, 2012 Share Posted April 25, 2012 Hey all, I am trying to work out how to change the default image size of the 'Storefront' image when using the 'non-simplified' stores browser (the one with the map and search box). The little image that shows under the shop details: See image: By default the stores use the 'medium' thumbnail properties which I do not want. I've created a new property called 'stores' unallocated the Stores type from 'medium' and re-alloacted it to the new 'stores' property. Regenerated my thumbnails and it has created the successfully (I can see them in the 'st' directory on the server) Now.. If I go to 'stores.tpl' in my themes directory, I can see an {if $simplified....] block at line 34, the {else} for it sits at line 51 so I would presume that everything under line 51 contains the code to create these little boxes. I cannot find where the image is referenced though! Line 39 (inside the simplified section) does contain a reference to an image and if I change this from 'medium' to 'stores' it will display the correct image WHEN the simplified version is selected in the BO. See comparison images below: This shows that the image thumbnail settings are working, and that the .tpl file modifications are working. But i CANNOT find where the image is referenced for use when using the non-simplified stores (map). Any help would be great. Thanks Dan Link to comment Share on other sites More sharing options...
doubleD Posted April 25, 2012 Share Posted April 25, 2012 How about themes/your_theme/js/stores.js ? Find href="http://maps.google.com/maps and you will see -medium above. 1 Link to comment Share on other sites More sharing options...
sgtbash Posted April 25, 2012 Author Share Posted April 25, 2012 How about themes/your_theme/js/stores.js ? Find href="http://maps.google.com/maps and you will see -medium above. SOLVED!!! Thank you so much! Simple answer to a simple problem =) Don't know why I didn't think of a JS script earlier... Mind must have gone blank! Thanks!!!! (How do I amend the topic subject on here to [sOLVED]?) Link to comment Share on other sites More sharing options...
doubleD Posted April 25, 2012 Share Posted April 25, 2012 Welcome, (How do I amend the topic subject on here to [sOLVED]?) Edit your topic name and add [sOLVED] Link to comment Share on other sites More sharing options...
sgtbash Posted April 26, 2012 Author Share Posted April 26, 2012 Edit your topic name and add [sOLVED] Ok - I feel dumb... not familiar with the new layout of the forums... Where do I do that from now? Link to comment Share on other sites More sharing options...
doubleD Posted April 26, 2012 Share Posted April 26, 2012 Ok - I feel dumb... not familiar with the new layout of the forums... Where do I do that from now? Press Edit your first post, press Use Full Editor button and you will see Topic title Link to comment Share on other sites More sharing options...
sgtbash Posted April 27, 2012 Author Share Posted April 27, 2012 Press Edit your first post, press Use Full Editor button and you will see Topic title Sorted! thanks =) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now