Results 1 to 9 of 9

Image links broken in New Products

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

      
  1. #1
    Member
    Join Date
    Apr 2009
    Posts
    31
    Rep Power
    0


    Question Image links broken in New Products

    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.

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Default Re: Image links broken in New Products

    More info required. Version, for example?
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    Member
    Join Date
    Apr 2009
    Posts
    31
    Rep Power
    0


    Default Re: Image links broken in New Products

    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?

  4. #4
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Question Re: Image links broken in New Products

    Category Images Directory: images/images_big
    That doesn't look right - should be:
    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.

  5. #5
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Default Re: Image links broken in New Products

    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.

  6. #6
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Red face Re: Image links broken in New Products

    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:
    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_WIDTHSMALL_IMAGE_HEIGHT) . '</a>'?></td>
    Untested at present - so take a backup!

    EJ
    Hosting plans with installation, configuration, contributions, support and maintenance.

  7. #7
    Member
    Join Date
    Apr 2009
    Posts
    31
    Rep Power
    0


    Default Re: Image links broken in New Products

    Seems to work. Thank you- it's very much appreciated.

  8. #8
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    2,944
    Rep Power
    34


    Default Re: Image links broken in New Products

    RC2 Added to the Project, with missing file.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  9. #9
    New Member
    Join Date
    Oct 2008
    Posts
    8
    Rep Power
    0


    Default Re: Image links broken in New Products

    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

Similar Threads

  1. All links to images/ are broken
    By Kamenotejin in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 09-16-2005, 01:58 PM
  2. Broken Products Webpage links
    By enochroot in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 02-28-2005, 09:18 AM
  3. Broken Header Image
    By FSUddin in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 12-12-2004, 02:36 AM
  4. ALL LINKS BROKEN, Please Help!
    By greg_pdq in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 08-25-2004, 01:37 PM
  5. Broken links after install
    By thesoapman in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 01-21-2004, 12:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •