This topic is locked
[SOLVED]

 View as Setting

9/16/2010 10:58:58 AM
PHPRunner General questions
H
harleybox author

Hello,
I have a picture and want to show it in list page as thumb and show it in view page as original size(or for cell size).
What can I setup it ?
Thanks

Sergey Kornilov admin 9/17/2010

Here is what I can suggest

  1. Use this field twice in your SQL query

select

image,

image as image2

from ...


2. Use image on all pages except View one. Setup it to use thumbnails.
3. Use image2 on View page. Do not turn of thumbnails for this field.

H
harleybox author 9/18/2010

I did it with another way, I added a new field in database and in that view as setting set custom code with <img src=.....> tag
Anyway thanks a lot admin
Best



Here is what I can suggest

  1. Use this field twice in your SQL query

select

image,

image as image2

from ...


2. Use image on all pages except View one. Setup it to use thumbnails.
3. Use image2 on View page. Do not turn of thumbnails for this field.