On the "New Products" page, all of the images in the list are broken.
The images are trying to be loaded from images/ but need to be loaded from images/thumbs
What do I need to do to alter where the images on this page are being loaded from?
Thanks.
This is a discussion on Image links broken in New Products within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; On the "New Products" page, all of the images in the list are broken. The images are trying to be ...
On the "New Products" page, all of the images in the list are broken.
The images are trying to be loaded from images/ but need to be loaded from images/thumbs
What do I need to do to alter where the images on this page are being loaded from?
Thanks.
More info required. Version, for example?
Hosting plans with installation, configuration, contributions, support and maintenance.
It's version 2.0.2
Dynamic MoPics is set up like this:
Big Images Directory: images_big/
Thumbnail Images Directory: thumbs/
Main Thumbnail In "Thumbnail Images Directory": false
Category Images Directory: images/images_big
Extra Image Pattern: imagebase_{1}
Anything else you need?![]()
That doesn't look right - should be:Category Images Directory: images/images_big
images_big/ , but make more sense to show thumbnail size (IMO) i.e. thumbs/ - preferably categories/ (to keep them separate from product images).
Do you have a link, so I can check the new product page?
EJ
Last edited by ridexbuilder; 06-20-2009 at 05:02 AM.
Hosting plans with installation, configuration, contributions, support and maintenance.
Looked at it on my development site (and get the same results as you).
Will try to sort it out - shouldn't be difficult.... lunch first.
Hosting plans with installation, configuration, contributions, support and maintenance.
Somehow the file got missed in the patch, from the transition to the Slimbox version (oops!)
/catalog/templates/fallback/content/products_new.tpl.php or...
/catalog/templates/your_template/content/products_new.tpl
Line 110 should read:
Untested at present - so take a backup!PHP Code:<td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new[$x]['products_id']) . '">' . tep_image(DIR_WS_IMAGES . DYNAMIC_MOPICS_THUMBS_DIR . $products_new[$x]['products_image'], $products_new[$x]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td>
EJ
Hosting plans with installation, configuration, contributions, support and maintenance.
Seems to work. Thank you- it's very much appreciated.
![]()
RC2 Added to the Project, with missing file.
Hosting plans with installation, configuration, contributions, support and maintenance.
Ridexbuilder had it right, That works, I had the same problem when I added Dynamic MoPics and Lightbox to Current Version: osCMax v2.0.2 .
The Thumbs were not showing in New Products, new_products.php
So I did what they did and changed ( DIR_WS_IMAGES . THUMBS) to DIR_WS_IMAGES . DYNAMIC_MOPICS_THUMBS_DIR
I must have had the old version on Dynamic Mo Pics
Last edited by jonnyvegasss; 07-29-2009 at 08:15 PM. Reason: typo
Bookmarks