explorador - 9:04 pm on Jun 8, 2012 (gmt 0)
Hi fellow webmasters I will need your help, I believe I reached my limit here :(
I have two main issues here:
1. Stopping Drupal from duplicating (resampling and recreating images)
2. Importing my image thumbnails into Drupal7 (each page has a preview image that appears on the listings)
First #1. Every page has a thumbnail, but every time I upload an image, Drupal creates diff versions (thumbnail, medium, large). I can't find a way to disable this (can't delete image styles on D7). I already overrided the settings and removed the "resampling", I also tried deleting the image styles, even configured the fields to use the original image but after a while, D7 starts creating dirs and subdirs with resampled versions. I'm working with fully optimized images on a gazillion images website so I can't afford this. My D7 is already configured to use one directory... please help :(
- - - - - - - -
Now #2, the trickiest.
I'm migrating gazillion pages to Drupal from a custom CMS, had lots of problems as FEEDs stopped working and behaves erratically after 7.12 to 7.14, SO, I built custom routines to export and import my data into the database (nodes, taxonomy, url alias, etc), [that is working fine, awesome].
BUT! every page (node) has not only a title but also a preview image, a thumbnail. I studied the database structure and the directory structure so I found a way to mimic the behaviour and data structure, created my data and imported it... nothing. The files are there but they just don't show.
After many tries I managed to make D7 recognize the images, they appear on edition, but not on full content or teasers. I just don't get it, the data is there but the html tries to display the images but using width=0 and height=0... I already went into the database and imported those values but D7 keeps printing html with width and height = 0, so, no visible image.
I also deleted the cache everywhere... nothing, even inside the database. Also, after a while the site begins using alternate versions of the images when there has been no change...
I could start with no thumbnails (keeping my old data without thumbnails but can't afford D7 creating random resamples images for the new content... as for inline image insertion I created a modified version of Nicedit, so that's out of the database structure, it will be inserted on the body... not on any other field, D7 won't even "see" those images....
Help please :)