Forum Moderators: not2easy
I'm running into difficulty on this latest site. When clicking on "Swap Image" in the behaviors, the window pops up, a very brief message appears which looks like this:
***no images found***
Then an illegal operation warning appears stating DreamWeaver has caused an invalid page fault in DreamWeaver.exe. When I close the warning, DreamWeaver closes.
This table has 210 images. Since ImageReady exports all the images with the table, it's been a real time saver. But since I've had this problem, I've tried other methods to get the Swap Image to work:
1) uninstalled and reinstalled DreamWeaver MX
2) created a new, blank table in DreamWeaver and inserted the image slices manually. This worked until I reached the midway point with the images. Then the Swap Image feature caused the same crash.
3) I imported the index page and images of another site I have which uses the Swap Image behavior extensively into the root directory of the problem site. The imported page worked perfectly when I experimented with the Swap Image command.
Any ideas what may be causing the problem? Maybe there's a limit to the number of slices?
Thanks,
Diana
***no images found***
The image swap behavior uses Javascript. Javascript image swapping depends on the particular image tag to be given an "id" parameter and value. If none of your images have an "id" then Dreamweaver returns the error ***no images found***.
To solve the problem, locate the particular slices which are going to be swapped and add code similar to what's in bold to the img tag:
<img src="../images/slice_c01_r01.gif" height="12" width="84" [b]id="swap001"[/b] />
You may be experiencing other problems (like crashing) because of the complexity of your table structure but I don't think that's related to the ***no images found*** error. :)
It didn't work.
I also closed every running program except explorer and systray to free up RAM. Still didn't work.
I uninstalled DreamWeaver, cleaned the registry of instances of DreamWeaver and reinstalled DreamWeaver. That didn't work.
My next step is to slice the image up in PaintShop Pro and save it as and .html file. If it works, then I'll deduce the problem is with the Photoshop .html and slices (although I've used it successfully several time, I've never created a single table with 210 images.
Thank you for taking the time to try to help me solve this issue.
Toodles,
Diana
I wish I could be more helpful! Perhaps someone else with the same version of Dreamweaver and a similar OS can replicate your problem and provide better assistance.
For reference, I tested with Photoshop 7, Imageready 7, and DW MX 2004 7.0.1 on a dual 2 ghz G5 running Mac OS X 10.3.5.
(btw, I was totally wrong, DW calls imgs without an id "unnamed <img>")