This topic is locked

Default Image

10/17/2008 10:52:58 AM
PHPRunner General questions
L
Lorenbond author

Using PHPRunner 4.2 (build 379) Classified Template.
Ive created a default image: no_image.gif and placed it in the include folder.
When I create a record without uploading an image the defaut image does not display.
How can I make the default image display?
Thanks in advance, Loren Bond

L
Lorenbond author 10/17/2008

Using 4.2 (build 379)
I'm still having a problem with the default image.
I copy "noimage.gif" to the include folder; however, the system will delete the image when ANY_ file associated with it is deleted.
Example:
User (1) Post an Ad with no image. (The default "include/no_image.gif" is displayed)

User (2) Post an Ad with no image. (The default "include/no_image.gif" is displayed)

User (3) Post an Ad with no image. (The default "include/no_image.gif" is displayed)
All is well until ANY one of the above entries are deleted. The system deletes the default "include/noimage.gif".
ALL Ads placed by ALL_ users now have no image displayed because the default image was deleted.

L
Lorenbond author 11/6/2008

Using 4.2 (build 379)
I'm still having a problem with the default image.
I need a nswer to this as soon as possible. Thanks, Loren Bond

J
Jane 11/6/2008

Hi,
have you stored no_image.gif in the field?

What settings do you use on the "Edit as" settings dialog on the Visual Editor tab?

L
Lorenbond author 11/6/2008

have you stored no_image.gif in the field?



I dont know what your asking, what field?

What settings do you use on the "Edit as" settings dialog on the Visual Editor tab?



Upload folder = Files

Upload options = Delete file when asociated record is deleted(global option)

Thumbnails = Creat thumbnails on the fly

Thumbnail Prefix = Thumbs/th_

Thumbnail size = 150

Resize Image = Resize Image after upload

Image size = 480

L
Lorenbond author 11/6/2008

I can Also re-create this problem by using just 1 user.
Example:
User(1) post Classified Ad with no picture.

User(1) post a second Classified Ad with no picture.

User(1) deletes one of these Classified ads
When the page is reloaded the remaing classified Ad has no default image and the system deletes no_image.gif from the include directory.
I need an answer to this as soon as possible.

L
Lorenbond author 11/6/2008

The following is PHP code from Mainlist.php

Would it be possible to edit the $value=""; with a default image ?

This would load a hard coded default image and overwrite the image if a user image is on file.
If this is possible Can you supply me witth the code?
// Picture - File-based Image

$value="";

if(CheckImageExtension($data["Picture"]))

{

// show thumbnail

$thumbname="Thumbs/th
".$data["Picture"];

if(substr("files/",0,7)!="http://"; && !file_exists(GetUploadFolder("Picture").$thumbname))

$thumbname=$data["Picture"];

$value="<a";

$value .= " rel='ibox'";

$value.=" href=\"".htmlspecialchars(AddLinkPrefix("Picture",$data["Picture"]))."\">";

$value.="<img";

if($thumbname==$data["Picture"])

{

$value.=" width=150";

}
$value.=" border=0";

$value.=" src=\"".htmlspecialchars(AddLinkPrefix("Picture",$thumbname))."\"></a>";

}

$row[$col."Picture_value"]=$value;

L
Lorenbond author 11/6/2008

I still need an answer to this problem.

Sergey Kornilov admin 11/7/2008

You need answer from support you need to contact support team directly at support@xlinesoft.com.

L
Lorenbond author 11/11/2008

You need answer from support you need to contact support team directly at support@xlinesoft.com.


Ok, did that last week.

I uploaded files to the demo account.

I sent email directly to support

I included all info including passwords.

Ive done everything I can do but yet I have no reply from Tech support!
What am I doing wrong?
I have several Tech issues I need help with. I was under the impression that the purchase included tech support?
do I need to pay additional for tech support?
If so where to pay and what level of support can I expect?
Ive been told a couple of times on this forum to upload to version 5.
I did that but had so many issues with version 5 that I had to go back to version 4.2
Surly I must be missing the point!
Anyone with suggestions to obtaining tech support with this issue and other issues PLEASE contact me. My number is 903-691-0032 email: airpartsoutfitters@hotmail.com Thanks in advance, Loren Bond
PS

Inspite of the tech support issues that I'm having I still think that the product is a very good product and Im please with my purchase; nevertheless, I NEED HELP!!!!!!!!!

Sergey Kornilov admin 11/11/2008

What's your email address?
Please note that this is not a technical support forum.

L
Lorenbond author 11/11/2008

What's your email address?

Please note that this is not a technical support forum.


My email address is airpartsoutfitters@hotmail.com

Sergey Kornilov admin 11/11/2008

The latest email from you was answered by Jane on November 10th. She is asking for clarifications:

Loren,

I've added two records and then deleted it here: