muraduk Posted July 19, 2010 Posted July 19, 2010 Hi i have incorporated and edit website to accept the images from a external source... This works fine...... but i am finding that some of the images are not being displayed is becuase the image URL is too long e.g hxxp://www.atssitecentre.co.uk/images/products/37000/5006037098f.jpg is only displaying as hxxp://www.atssitecentre.co.uk/images/products/37000/5006037098f thus not displaying... Does Osc have a limit on URL length for images, and if so how do we increase this length Hope someone can help.. Thanks in advance...
mirko007 Posted July 20, 2010 Posted July 20, 2010 Hi i have incorporated and edit website to accept the images from a external source... This works fine...... but i am finding that some of the images are not being displayed is becuase the image URL is too long e.g hxxp://www.atssitecentre.co.uk/images/products/37000/5006037098f.jpg is only displaying as hxxp://www.atssitecentre.co.uk/images/products/37000/5006037098f thus not displaying... Does Osc have a limit on URL length for images, and if so how do we increase this length Hope someone can help.. Thanks in advance... I hope this will help 1. make your database backup! 2. in notepad paste code below: <?php require ('includes/application_top.php'); $result = mysql_query($query); $sql_query = mysql_query("ALTER TABLE `products` CHANGE `products_image` `products_image` VARCHAR( 202 )") or die (mysql_error()); echo 'ready'; ?> in this case image url length will be 202 3. save this file as e.g. image_length.php 4. copy this file to your store catalog 5. go to yourstoreadres.com/image_length.php 6. Ready now you can add image url much longer 7. Delete image_length.php from your store catalog
Recommended Posts
Archived
This topic is now archived and is closed to further replies.