Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    21
    Plugin Contributions
    0

    Default SQL script to change the product image folder?

    Hi,

    Just uploaded loads of products, unfortunately i had the wrong folder set or the images.

    does anyone know how to do a sql script to change the image file name from folder1/xxxxxx.jpeg to folder2/xxxxxx.jpeg

    i have tried

    UPDATE zen_products SET zen_products = REPLACE(products_image, "folder1\", "folder2/");

    this just returns a failed message

  2. #2
    Join Date
    Feb 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: SQL script to change the product image folder?

    Any Ideas?

 

 

Similar Threads

  1. SQL script to change site wide table widths
    By bigstore in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Feb 2012, 02:12 AM
  2. Script for floating the large image over smaller images on product info page
    By sjk1000 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Mar 2010, 10:17 PM
  3. Why do I need to change folder permissions 777 on the folder before install?
    By zhshji in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 5 Feb 2010, 01:04 PM
  4. Want to see the SQL statement of the DB upgrade script.
    By artcoder in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 30 Dec 2007, 10:04 PM

Posting Permissions

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