JustSo PhotoAlbum 3
Faq
These FAQs are based on your actual questions. I'll add more as they come in.
Also be sure to check the JustSo PictureWindow3 FAQs.
- Can I Convert jspw1 on Child pages of Templates created in DW4?
- DW4 Templates are always a challenge
to Extension developers. Because those pages lack an important
Editable Region in the document's Head, adding behaviors to
the page can be problematic. The best thing to do here is to
manually add the missing Head tags. Add this code to the Head
of the DW4 Template:
<!-- TemplateBeginEditable name="head" -->Save the Template, updating all its Children. Now you can add jspw3 behaviors (and any other javascripted behaviors) - whether by using jspWindow3, jspwTo3 or jspAlbum3 - to the Children with ease!
<!-- TemplateEndEditable --> - Why am I having trouble Converting a Child page of Templates created in all (?) versions of DW, even after applying the fix above?
- There
is a known bug in the Template API that, occasionally but
erroneously reports that you are attempting to make changes in
a Non-Editable Region and rejects the changes. There is a bit
more about this on the MM DW newsgroup. I now
have a workaround for one source of trouble: if your Template
contains two or more #include statements contained within the
same parent tag, then simply wrap each #include statement in
a tag, like or <span></span>,
or even a nonsense tag like <fixit></fixit>, as in this
example:
<td><br>
<!-- TemplateBeginEditable name="navigation" -->
<!--#include virtual="/nav.htm" -->
<!-- TemplateEndEditable --><br><fixit><!--#include virtual="/myinclude1.htm" --></fixit>
<br>
<fixit><!--#include virtual="/myinclude2.htm" --></fixit></td>
- Why do I get this error in my browser:" Nothing happens when I click on a thumbnail," or," I get a popup window that says '404 - File not found'", or, "The popup opens but there is a broken image icon in it." ?
- You must remember to upload these files and folders to your
webserver:
1) the folder "vwd_scripts" and its contents into the site root,
2) the file "jspw3_pop.htm", in the folder along with your document.
3) the folder bearing the document's name, and its contents. - How do I change the vertical position of the images in gallery table?
- If you try to do this using vertical alignment html (in the
Property inspector), it will take a horribly long time for DW
to process all the jspw3 function calls, and the DW API does
not allow me to prevent it. There is terribly simple way around
this - and it is what actually prompted me to add the CSS control
of the gallery table - rather than changing vertical alignment
using html, do it in the td's style in the CSS sheet - it works
instantly! So, e.g.:
table.jspa td {
vertical-align: middle; /* OR bottom OR top*/
padding: 12px 12px 12px 12px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 0.8em;
color: #000000;
background-color: #999;
} - How does jspA3 handle image resolution when it is creating thumbnails and fullsize images?
- JspA3 tells Fireworks to web-optimize your images (unless you choose "Copy originals" (for the fullsize image)), EXCEPT you must supply it with 72pxi or 96pxi images - as it does not convert, say, a 300 pxi image to 72pxi for you.
- How secure are my images?
- It is not possible to protect against someone who really wants to steal your image. For example: Right-clicking on the popped up image is permitted in N4.x (only 1% of users) even with click-to-close ON. (Code that had been added to prevent this actually crashed the browser on the Mac.) And on some Mac OSs it is apparently always possible to click-drag (or somesuch) to steal images. On the PC, anyone with a rudimentary knowledge of their browser can figure out how to get to your popped image despite all the built-in protections of jspw3. Bottom-line - it is NOT possible to secure your images when they are posted online. We can only make it more difficult for the majority of users.
- Why do the thumbnails in the "NoTheme" theme not center themselves in their table cells?
- If you choose "NoTheme" for the thumbnails table, then there is NO CSS applied to the Album and your images will not be centered in each table cell. Choose the theme "Clear" instead if you wish to have no "visible" css but want to center the images in their table cells.
- In what languages will jspA3 work?
- Like many of my Extensions, jspA3 will likely only work with the latin charset (charset=iso-8859-1). If you have good or bad news on this score - please let me know. Bad: Cyrillic fails, Japanese fails. Do any other users of that version of DW have such trouble?
- Hey, my thumbnails table is filled with broken image icons instead of images!
- If this happens, simply save, close and reopen the page. Voila, images.
- Is there a way to add custom sizes for the thumbnails that jspA3 generates?
- Find {YourDWConfigurationfolder}/Commands/jspA3.htm
and add a new option to the Select tag by inserting at line 162 (before
the </select>)
(If you ever reinstall jspA3 of course this change will have to be
re-added), for example:
<option value="400"> 400 x 400 </option> - Netscape 4.x is not showing my popup images properly.
- Netscape 4.x does not tolerate spaces in path names. Neither the folders in the path nor the imagename itself may have a spaces if you wish to support Netscape 4.x. You can replace the space with an underline (_) if you wish.
- How do I add an image to an existing thumbnail table?
- To add image(s) to a gallery, it is quite easy in DW8, but
not so easy in prior versions of DW (due to a DW bug now fixed.
In older versions of DW, it was always far easier to recreate
the entire gallery table because dragging and dropping
each thumb took 5 minutes!) In DW8, simply add to the page a
new jspA3 album containing your new image(s) and drag/drop
thumbnails from one table to the other.
This assumes you make
room for the new image(s) either by removing old images, or
by adding a new row to the original table.
You can add a new row to your table either by placing the cursor in the final cell (when the final row has all its cells, e.g. 5 cells across in a 5-cell wide table) and hitting the Tab key to append a new row to the table. If the old table has fewer cells than the table is wide, then it is easier to put the cursor in a cell of any row OTHER than the final row and clicking ctl-M (on a pc) which will insert a new row above the cursor. Then, as I said, simply drag and drop images from the new jspA3 table into these new cells. (or you can even drag entire rows of tds if you do it right.)


