I dont have any path in the db relating to the thumbnail!
I presumed your code took the image1 path in the db (/upload/filename.JPG) and worked out there would be a thumbnail in the upload folder called filename_small.JPG without the need to have the actual thumbnail path in the db. |
|
|