Image Thumbnails, How To?

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
bdurfee
Veteran Member
Posts: 32
Joined: 2013-02-07 17:44

Image Thumbnails, How To?

Post by bdurfee » 2013-03-07 18:23

I've got an image upload field for one of my tables. I want the table view to show thumbnails. In the settings under image options under Table View I have the Thumbnail size set to 150x150 and neither box (zooming or full size) is checked. In the table view, it only shows the camera icon for pictures rather than showing a thumbnail. What am I doing wrong?

Image

bdurfee
Veteran Member
Posts: 32
Joined: 2013-02-07 17:44

Re: Image Thumbnails, How To?

Post by bdurfee » 2013-03-07 18:34

Image

Johnk
AppGini Super Hero
AppGini Super Hero
Posts: 68
Joined: 2013-01-09 03:47
Location: Cairns, Australia

Re: Image Thumbnails, How To?

Post by Johnk » 2013-03-08 00:40

What kind of images are you uploading? Judging by the field name and Image size you have allowed, are you trying to upload a slideshow? Images have to be JpPG, GIF or PNG. An 800 x 600 jpg compressed to 80% with a DPI of 96 (the most you need) should come in at around 150kb max.

schmutly
Posts: 1
Joined: 2013-03-08 07:37

Re: Image Thumbnails, How To?

Post by schmutly » 2013-03-08 07:39

Try this;
1. Make sure the image filenames are stored in the image field in your database.
2. Modify the image upload path configured in AppGini to point to your actual images path by editing the generated "defaultLang.php" file in the last line of that file.
Rob

bdurfee
Veteran Member
Posts: 32
Joined: 2013-02-07 17:44

Re: Image Thumbnails, How To?

Post by bdurfee » 2013-03-08 13:28

Normally, most of the images have a small file size. The DPI is usually 72-96 as well. I allow 500k just in case it is needed. In this case, the images range from 400k-480k.

Johnk
AppGini Super Hero
AppGini Super Hero
Posts: 68
Joined: 2013-01-09 03:47
Location: Cairns, Australia

Re: Image Thumbnails, How To?

Post by Johnk » 2013-03-09 09:26

Your image sizes aren't a problem, nor is the 500kb limit unless you're expecting thousands of images to be posted. The question is, have you got the thumbnails to work? If NO, do they appear okay in the detail view?

I think point one in Schmuty's suggestions may be covered, otherwise you wouldn't see a camera icon. Provided you find them on your own computer, the images should be loaded into the appropriate folder on your server whatever that may be.

I don't have a crystal ball, but my guess is your image file types are one of the accepted types (jpg, jpeg, gif, png).

Please let us know how you go. It may help someone else.

shkdxb
Veteran Member
Posts: 40
Joined: 2013-06-28 18:18

Re: Image Thumbnails, How To?

Post by shkdxb » 2019-03-05 02:40


Post Reply