Announcement

Collapse
No announcement yet.

New Product image not showing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    New Product image not showing

    I'm having a problem with images.

    If you go to this site http://www.tradepine.com

    At the bottom are the new products. The image paths are incorrect and point to my local drive. However the product image under their categories display correctly.

    I'm using the product image resize fix and added the Thumbnail/t_ prefix before the actinic filename variable in the layout.

    Could someone guide me to why the new product images are pointing to the wrong place?

    I've even tried altering it to ProductThumbnailImageFileName as suggested in a different post, but then no image file name is used at all.

    #2
    These image files seem to be on a remote network drive - //tsclient/E/Pauls laptop/My Documents/Company Files/Clients of RCTHosting/Trade Pine/Original Graphics/core 013.jpg - and not (as recommended) in a sub-folder of your site folder.

    It's also a good idea to use file names that are purely lower-case alphanumeric perhaps with underscore. Spaces and other special characters are a bad idea.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hello Norman

      I'm using your code from the KB to do thumbnail of the product image.

      The files are outside, then when adding a product and browsing to them, they are moved into the Thumb folder inside the site1 folder.

      The product listings are then using the thumbfolder image, but the new products list at the bottom of the screen seems to be pointing at the original location not the image in the thumb folder.

      I don't understand why the new product image and main product image are pointing to two different locations.

      Comment


        #4
        If I put the original files in the site1 folder as well, won't they get uploaded to the server?

        If so this is not good because the original files are absolutely huge and consequently not actually needed because it is the images in the thumb folder that are the ones that should be used.

        Shouldn't the new product images point to the same location as the product list images (the thumb folder)?

        Comment


          #5
          Update

          If I put the original files in the site1 folder then the images 'seem' to work, however they are displaying the massive original file not the thumbnail file, which is obviously wrong.

          What should happen, if it was to make sense would be for it to point to the thumbnailed image in the thumb folder not the original file?

          Comment


            #6
            Your original big files will probably be uploaded by Actinic. They're referenced as product image files after all.

            As for folder location. Why not have two folders off Site1 - Originals and Thumbnails?

            You've not provided a link to the thumbnail tweak you are using so I can't be sure what variation on it you have.

            Nor have you posted what you are using in the New Product / Best Sellers layouts.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              If I put the original files in the site1 folder then the images 'seem' to work, however they are displaying the massive original file
              if this were me, i'd keep my original big pics somewhere on the network ie safe and out of harms way, then run a batch program to reduce them to a useable size for the site - place this set inside site1. then let the resizer to work on these

              Comment


                #8
                Originally posted by NormanRouxel View Post
                Your original big files will probably be uploaded by Actinic. They're referenced as product image files after all.

                As for folder location. Why not have two folders off Site1 - Originals and Thumbnails?

                You've not provided a link to the thumbnail tweak you are using so I can't be sure what variation on it you have.

                Nor have you posted what you are using in the New Product / Best Sellers layouts.
                Hi Norman
                The product resize I'm using is this one:
                http://http://community.actinic.com/...ad.php?t=45409

                I'd rather keep the original files out of the file folder as that is how a user will access them. It's not great asking an end user to copy and paste from one place to another. Instead they'll just browse to them whereever they are, eg hard disk, pen drive, CD etc. and expect it to just work. Also the clients I have (I'm migrating from another cart software) get their product images from their supplier on a CD and they are generally huge, so uploading them isn't an option.

                The product thumb nail code works great, and copies the thumb to the folder then displays the correct file in the product listing. However the 'new product' image still points to the original file whereever that happens to be. I'd like it to display the thumb nail image that was just created.

                I've tried this as suggested at the bottom of the KB
                <img src="Thumbnails/t_<actinic:variable name="ProductImageFileName" />" />

                But ProductImageFileName still points to the original off folder location.

                Then on another post (can't find it now) it was suggested to use this:
                <img src="Thumbnails/t_<actinic:variable name="ProductThumbImageFileName" />" />

                However ProductThumbImageFileName doesn't work. It's empty.

                Perhaps to go with the make thumb code, there should be a new 'new products' layout that references the correct image, not the original one perhaps, unless I'm doing something wrong.

                For the new product listing I'm using the default one, whatever one that is.
                Last edited by KB2; 22-Mar-2010, 11:57 AM. Reason: Updating kb links

                Comment


                  #9
                  Originally posted by pinbrook View Post
                  if this were me, i'd keep my original big pics somewhere on the network ie safe and out of harms way, then run a batch program to reduce them to a useable size for the site - place this set inside site1. then let the resizer to work on these
                  Keeping them offsite is my first choice as the clients images are huge. But as this is an end user asking them to run a batch script to thumb the images isn't an option for them. End users just expect it to work without having to resort to other programmes or processes.

                  The thumb code works great, it's just other things such as new products that are now referencing the wrong images.

                  Comment


                    #10
                    Instead they'll just browse to them whereever they are, eg hard disk, pen drive, CD etc. and expect it to just work
                    Except that it won't. E.g. Snapshots will be a nightmare. You won't be able to Snapshot and later Restore from it without a huge amount of work to get over the inaccessible images. They'll be locked forever to the hardware and network configuration they started with.

                    If you want to use a configuration that will break useful functionality that's up to you. I won't be able to help with it.
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment

                    Working...
                    X