Announcement

Collapse
No announcement yet.

Paste in temporary product photos

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

    Paste in temporary product photos

    I have loads of product records to add and I create/resize the product photos after a batch of new products have been created.

    It would be really useful for me to be able to paste in a temporary photo in the product record(s) so the product looks reasonable online straight away until I can go round and produce them properly. Enhanced, cropped, sized accordingly and filename created.

    As sites have different designs, I envisage pasting into a box in the product record with 'auto dimensions' predefined. That is, they can't be more than a certain width or length. If the photo is smaller it goes in same size but if very wide for instance, it is reduced proportionally to your set dimension. Perhaps these photos can be automatically stored in a folder (with filename automatically created) within the site folder.

    It is all very similar to how the FileMaker Pro database works.

    There must be other users who would appreciate this enhancement?

    Peter

    #2
    You could do this with some funky PHP scripting but certainly not straight from the box.

    If you remove the width or height attribute from the product <img> tag you can use your original image file and it will scale to fit either height or width on screen... whichever is best not to break you product layout. This is a dirty solution as you will be loading potentially a large filesize to display at a fraction of its original. You need to outweigh the loss of download speed compared to not having any image there at all - which is worse?


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Thanks for your idea Jont.

      The permanent photos are all re-sized for an exact fit and the file sizes reduced to a minimum. I do not want to upset any existing work and had in mind pasting these temporary ones in separately perhaps with an additional 'built in stage' within the Product Details window (SellerDeck would provide an auto filename) that resizes them so they are treated as same size when inserted into the layout.

      Perhaps a tall order for SellerDeck but really useful all the same.

      Peter

      Comment


        #4
        By removing the width or height attribute will not upset your existing work - declaring both dimensions aids screen rendering layout by inserting a dummy space before the image is downloaded - at worst the user will see a rejigging of the product layout as fraction of a second after the page loads. If the image layout is constrained in a <div> with set dimensions this will be negated.


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Thanks for the link.

          Comment

          Working...
          X