![]() |
Alexey admin 9/20/2007 |
Hi, |
I
|
Idol author 9/26/2007 |
Hi, I have more questions about the same fuction! |
J
|
Jane 9/27/2007 |
Hi, |
I
|
Idol author 9/27/2007 |
Hi Jane, And the second question is how to make the tumnail picture when clicked on ,in the listpage..redirect the user to the view page of the add....not to a new page with only a picture? Thanks... |
J
|
Jane 9/27/2007 |
Hi, |
I
|
Idol author 9/27/2007 |
Hi, to add link to the View page for the thumbnail picture use Custom format on the "View as" settings dialog on the Visual Editor tab. Actual code is dependent of field type.
|
I
|
Idol author 9/27/2007 |
Hi, it's difficult to tell you what's happening without seeing actual files. Please publish your project on Demo Account and post a URL to your pages here or send it to [email=support@xlinesoft.com]support@xlinesoft.com[/email] along with instructions on reproducing this error. I'll find what's wrong with your project inspecting it at Demo account site.
|
J
|
Jane 9/28/2007 |
Hi, $value=""; global $data; if(CheckImageExtension($data["FileNameField"])) { // show thumbnail $thumbname="th".$data["FileNameField"]; if(substr("files/",0,7)!="http://" && !file_exists(GetUploadFolder("FileNameField").$thumbname)) $thumbname=$data["FileNameField"]; $value="<a href=\"TableName_view.php?editid1=".$data["UserID"]."\">"; $value.="<img"; if($thumbname==$data["FileNameField"]) { $value.=" width=100"; //$value.=" height=100"; } $value.=" border=0"; $value.=" src=\"".htmlspecialchars(AddLinkPrefix("FileNameField",$thumbname))."\"></a>"; } |
I
|
Idol author 9/28/2007 |
Hi, here is a sample code:
|
J
|
Jane 9/28/2007 |
Hi,
global $data; $value = "<img src=\"TableName_imager.php?field=picture1&key1=".$data["UserID"]."\">"; |
I
|
Idol author 9/28/2007 |
Hi, here is the step-by-step instruction:
|
![]() |
Alexey admin 10/1/2007 |
Hi, |
I
|
Idol author 10/1/2007 |
Hi, PHPRunner preserves aspect ratio when creating thumbnails. Looks like there is something wrong with your settings. Please double-click your picture1 field in Visual Editor and make screenshots of View as and Edit as tabs. Post these screenshots here or send to support@xlinesoft.com Do the same with picture2 field.
|
![]() |
Alexey admin 10/1/2007 |
Ok, |
I
|
Idol author 10/1/2007 |
Ok, then please show me screenshot of your pages where I can see image resized wrong.
|
![]() |
Alexey admin 10/1/2007 |
when we give a hard coded sizes..like 100100 or 500500
|
I
|
Idol author 10/1/2007 |
Please clarify where do you specify these sizes.
|
![]() |
Sergey Kornilov admin 10/1/2007 |
We haven't yet given any resizing codes into these codes.....
|
I
|
Idol author 10/1/2007 |
You have to try it first before asking this question over and over again. PHPRunner does proper resizing maintaining the aspect ration.
|
I
|
Idol author 10/2/2007 |
My question still stands...please help me with this.... |
![]() |
Alexey admin 10/3/2007 |
Hi, To enable thumbnails just double-click your field in Visual Editor, select Edit as tab, choose Image or File/Image type and check off Create Thumbnail box. Did you try it ? ....(I only added this part into the code width=100 height=100 Don't do that. |
I
|
Idol author 10/3/2007 |
Hi, here is the advise we gave you in the beginning of the thread Did you try it ? Don't do that.
Hi, here is the step-by-step instruction:
|
![]() |
Sergey Kornilov admin 10/4/2007 |
Dear Idol-Nr1, |
I
|
Idol author 10/4/2007 |
Dear Idol-Nr1, we definitely speak different languages here. To speed up the process post what you currently have to Demo Account and contact support team at support@xlinesoft.com.
|