Latest News: (loading..)

David 1cog

Members
  • Content count

    62
  • Joined

  • Last visited

1 Follower

About David 1cog

Profile Information

  1. http://www.directplastics.com Well, everything was working fine but now the store owner reports he cannot upload images via Admin. I have no idea what could have changed to cause this - I haven't touched the code for several weeks. When an image is added to a product in Admin, click 'Preview', the image shows as broken: <img src="/images/" border="0" alt="20x1 Frame Packers (per 100)" title=" 20x1 Frame Packers (per 100) " width="100" height="75" align="right" hspace="5" vspace="5"> The image filename is not being populated. I tried adding an echo to categories.php: // copy image only if modified $products_image = new upload('products_image'); echo $products_image; This returns the word 'Object'. Should it not show the image filename??? I've uninstalled, reinstalled three times. Read this thread twice and none the wiser. Help or suggestions very welcome. :?
  2. Hopefully we won't have to wait too long before some of these essential contribs are added to the core - that would save a lot of work for a lot of people, especially the contributors. Thanks again.
  3. I wanted to create a new thread because the other threads are getting too big to be easily read, and phpBB doesn't display specific pages in a thread when searching - it's getting a nightmare trying to find info in the forums (hopefully the new forum system will help that). :oops: I didn't check carefully enough - looks like my client has added duplicate product models. Thanks for the reply.
  4. Oh well, it's nice to know I'm not alone. Hopefully Tim or Deborah can take a look....
  5. I've solved the problem by replacing: //echo tep_image($image, $products_values['products_name']); with echo '<img src="' . DIR_WS_IMAGES . $image_subdir . $products_values['products_image'] . '" />'; However, I would really like to work out why I have got to do this with 'Images Required = False' and no one else.
  6. http://www.directplastics.com/ I installed EasyPopulate successfully (???) and used it to populate the database for the above shop. Now when I download the complete tab-delimited file and make any changes (or no changes!) and then upload, EasyPopulate creates duplicates for some products. I haven't worked out why some products are duplicated and others are not. I've installed the latest version (2.61.2). Any suggestions?
  7. http://www.directplastics.com/ This problem isn't related to Image Resizer, but it's stopping it working. I have 'Image Required' set to 'false' in Admin so that broken images do not show for products that do not have images. With this set to 'false' the pop-up big image does not display, it justs opens an empty window. If I set 'Image Required' to 'true' everything works OK. I had the same problem using Dynamic MoPics and couldn't track down the problem. Could anyone suggest where to look for the cause of this? Thanks.
  8. The patent for GIFs expired in the US last month and will expire around the rest of the world over the next year (?), so there is no longer an issue with using them because of patent fees. PNG is unlikely to threaten GIFs until M$ provides full support for PNG in Windows IE (alpha transparency, etc.).
  9. Sorry Joshua, didn't spot that. I'll follow up with my hosting company. If they cannot enable GIF support is it possible to disable it in your mod? Thanks for your help and an excellent contribution.
  10. GD Support enabled GD Version bundled (2.0 compatible) FreeType Support enabled FreeType Linkage with freetype GIF Read Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled Looks like I've got GDLIB 2 and that's what is selected in Admin. Could the problem be something else? I've run GDLIB with other scripts without problem in the past on this server and GDLIB2 supports GIFs (???). Big images problem now solved. :)
  11. FYI with echo turned on in popup_image.php, the image path is: /home/directpl/public_html//images/BIG_IMAGE_SUBDIR/fa65wg.jpg I guess BIG_IMAGE_SUBDIR is not being populated?
  12. http://www.directplastics.com/ Fatal error: Call to undefined function: imagegif() in /home/directpl/public_html/bigboss/includes/classes/upload.php on line 268 This was produced when attempting to add a GIF image to an existing product - JPEGs are OK. Also, the large image is not displaying when I click the thumbnail - it just shows the thumbnail version again.
  13. Hi Joshua Thanks for confirming that 'Images Required' should not have this effect - that's what I guessed. I thought it was something to do with tep_image, but the function hasn't changed for a long time and my code is identical to the last few releases: My code: // The HTML image wrapper function function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } Although http://www.directplastics.com/ looks fairly standard I've changed quite a few lines of code, added bug fixes and a few contribs. I've probably screwed something up. :roll: It would be nice to fix this but all the important bits are working so I'm not too worried, but if you can think of any suggestions I'll be happy to hear them.
  14. I've worked out a fix to my problems (couple of posts up). To get big pictures working with 'Images Required' set to false I changed the following code in popup_image.php: From: echo tep_image($image, $products_values['products_name']); To: echo '<img src=' . $image_path . $image_base . $image_addon . $image_ext . ' />'; Not pretty but it works.
  15. The contrib will still work (i.e. provide additional pics) with the osC thumb code removed but there's no reason (?) to do that. Let the osC thumb code take care of displaying the standard thumb and Dynamic MoPics will display the large picture + additional pictures if required.