close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

can't see images in cms admin

Thread began 12/17/2009 8:50 am by gruant2000381341 | Last modified 12/28/2009 4:35 pm by Eric Mittman | 3720 views | 11 replies |

gruant2000381341

can't see images in cms admin

I wanted to add lightbox to images, since my js has a specific folder for images I am keeping them there. I pasted the link in source view in cms, but only get the red x where the image is suppose to be. When looking at the actual page, the image is fine and lightbox works....but can't see the image in cms admin area. Why is that? It should be able to read the path just like any other page, right?

<a href="images/babylg.jpg" rel="lightbox[people]"><img src="images/babysm.jpg" alt="Intarsia Plans baby" width="80" height="164" border="0" />

the images folder referenced is my lightbox image folder, just a folder in my root folder

Sign in to reply to this post

Eric Mittman

The reason you see the red x may have to do with the relative path you are using. Have you tried using an absolute path that starts with a slash or is prefixed with your domain URL? Please give this a try to see if it helps you get past this issue.

Sign in to reply to this post

gruant2000381341

somethng odd

well I tried adding a / and tried adding the whole http url, but nothing worked.
So I am still stuck with the image issue.

I also ran into an oddity while trying to fix the image issue. For some reason, my code that I am pasting in source view is getting re-arranged. The code below is what I pasted into source view initially.

<a href="images/babylg.jpg" rel="lightbox[people]"><img border="0" alt="Intarsia Plans baby" width="80" height="164" src="images/babysm.jpg" />

when I hit save, then go back in and look at it again in source view, it has been re-arranged like below

<a rel="lightbox[people]" href="images/babylg.jpg"><img border="0" alt="Intarsia Plans baby" width="80" height="164" src="images/babysm.jpg" />

I fixed it again and saved and it again rearranged the code.
Any idea why this is happening? This might also be contributing to my image viewing issue.

Sign in to reply to this post

gruant2000381341

anyone? please

Sign in to reply to this post

gruant2000381341

I really need some help with this

Sign in to reply to this post

MickW

Hi Gruant,

I just thought I'd let you know that I've used Lightbox successfully.
As you say the CMS Editor alters the code but this doesn't affect the lightbox effect.

The difference I have is that the images are uploaded to a folder within the cms folder - this made sense in my setup as the images would be uploaded and used by the client.

HTH Mick

Sign in to reply to this post

gruant2000381341

I already had other things in place to add images and other javascript in place before adding cms, that's why I have to do it this way. I may end up re-writing some of the js if I can't figure out why I can't see images in admin. Can't quite figure out what my roadblock is with admin being able to follow my path.

I really don't understand why cms is moving around my code, I don't like that at all. These lightbox instances aren't the only code I am pasting. Some of it is also commerce related, and I don't want it to all come undone because cms decides to change stuff.

Sign in to reply to this post

gruant2000381341

I got my image issue sorted out, but i would still like to know why cms is moving code on me.

Sign in to reply to this post

Eric Mittman

When it comes to the rearranged code that you are seeing is there any effect from doing this? If the attributes for the tag are specified in a different order does it cause your pages or code to not work? I'm not sure why the attributes order seems to be getting reversed but I'm more curious about the effect that this is having on your code.

Also, do you know which way it is being stored in the DB? This will give a clue about when and where the reformatting is occurring.

Sign in to reply to this post

gruant2000381341

hmm, well I tried looking in the db to see how it is being stored. But i couldn't figure out how to see the info without screwing something up.

I can say that the lightbox still works, and when looking at the actual...then right clicking and viewing source code...the code is definately re-arranged. I have since added some of my paypal buttons ( which are for selling of digital goods ). I haven't had a chance to test the functionality of the redirect to download upon paymment, but the actual buttons are displaying like they are supposed to. Hopefully tonight I can get a sandbox set up to test this.

Sign in to reply to this post
loading

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...