Code by Hand - Not showing thumbnails

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

Code by Hand - Not showing thumbnails

Post by TheNoLifer » 2015-12-11 20:01

All,

I recently had to make an addition to my system, but for various reasons I could not regenerate from AppGini into my main folder (too much custom work), so I generated to a sub folder and have been manually moving the required files into my main.

All works so far, apart from one part.

I have two image upload fields on my new table. The images upload correctly, and when clicked, they open in a new page correctly;
full_image_upload_correctly.JPG
full_image_upload_correctly.JPG (24.53 KiB) Viewed 3423 times
but in the Table and Detail view, the thumbnail shown for them is the default little camera image.
no_thumbnails_table_view.JPG
no_thumbnails_table_view.JPG (13.33 KiB) Viewed 3423 times
and
thumbnail_no_image.JPG
thumbnail_no_image.JPG (57.75 KiB) Viewed 3423 times
I cannot find the missing code in generating those thumbnails. I have edited thumbnail.php to add the new array, and all the other obvious places.

Any ideas what I have missed?

Much appreciated, as always!

TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

Re: Code by Hand - Not showing thumbnails

Post by TheNoLifer » 2015-12-11 20:12

Edit: I should note that in the "images" folder, the thumbnail for the table view and the larger thumbnail for the detail view ARE present, after uploading. They're just not displaying anywhere in my TV/DV pages.

TheNoLifer
Veteran Member
Posts: 67
Joined: 2015-06-06 12:10

Re: Code by Hand - Not showing thumbnails

Post by TheNoLifer » 2015-12-11 20:51

Cancel my last. It is NOT generating thumbnails for new images. Boo.

Post Reply