This topic is locked
[SOLVED]

 Images and thumbnails

10/22/2010 12:16:45 AM
PHPRunner General questions
S
Smithy author

Hi there,
Support - please note that I have uploaded the application to PDP_Product damage on the demo server
I really like PHP Runner - it makes creating database driven web pages easy.
However - I am really stuck on how / when to get thumbnail images to display;
I need to achieve the following results:

  1. I would like the thumbnail to display in the list page and in the preview or popup list(in a master/detail application)
  2. I would like to use iBox to display the large version of the image when you click on the thumbnail in the list page.
  3. I would like the full size image to only appear in the View page.
    (As mentioned I have uploaded the application to the demo account, but the picture did not upload with it for some reason.)
    Your help in guiding me through this would be greatly appreciated.
    Best regards,
    Craig Smith

A
ann 10/22/2010

Craig,
please see my comments:

  1. proceed to the Visual Editor tab, set up the field as File/Image on the Edit as settings dialog and as Image on the View as settings dialog.

    Check Display thumbnails and Use iBox to display images options here.
  2. to display the full size image on the View page create an alias for the field on the Edit SQL query tab:

select

...

FieldName,

FieldName as Alias

from TableName



Check off the Alias for all pages except the View page on the Choose fields tab and check off the FieldName field for the View page.

Then set up Alias as Image on the View as settingsdialog and uncheck thumbnail option for this field.

S
Smithy author 10/22/2010

Hi There,
Thanks for the feedback - using the demo account highlighted my issue - I didn't have gd_lib installed to run with PHP and it would appear that this makes all the difference when dealing with pictures. The demo account worked perfectly, my virtual machine didn't.
As a result I have signed up for a Inspirunner web hosted account and it works really well.
Back to work now !
Regards,
Smithy