close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Wrong image showing ID mixed up

Thread began 9/10/2012 6:04 pm by illbe322016 | Last modified 9/11/2012 1:44 am by Morgan | 983 views | 1 replies |

illbe322016

Wrong image showing ID mixed up

Hi,

When the record displays it shows the wrong image, but oddly an image with the same numbers in the ID for example itemID 4086 will show image 4068.jpg if there is no 4086.jpg on the server. What am I missing here? I have an "onerror="this.src='images/default.jpg" rule in place but this only works if there is no image with similar numbering, for example itemID4063 shows the default.jpg image, I guess because there is no 4036.jpg on the server.

Thank you in advance

Tom

Sign in to reply to this post

Morgan

Hi Tom, can you put up the page where you have the problem? Sounds like the sent parameter is wrong + that it adds the .jpg to your itemID. :)

"onerror="this.src='images/default.jpg" is that for showing if there is no image uploaded to the item? If it is, maybe you should change it to a "Show if" instead.

//Morgan

Sign in to reply to this post

illbe322016

Here is the code

It seems that the DB is providing an image that is similar or "LIKE" the one requested, in other words it can't find 4086.jpg so it substitutes 4068.jpg, could that be??

Any help with this is appreciated, this is killing me :-)

Attached Files
senecaCode.zip
Sign in to reply to this post

Jason ByrnesWebAssist

i dont see any problems in the code

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...