Copy protection for images and image encryption.
Support FAQs Search support topics by keyword  
 All Forums
 Secure Image
 Secure Image Pro
 Multiple images not showing
 
Previous Topic Topic Next Topic  
Posted - Sep 08 2002 :  00:56:14  Show Profile  Reply with Quote
We've been developing our photo gallery for the last few weeks but the web page seems to lock if there is more than one image. (It never works with more than one picture). You did mention to modify a parameters in your class script but it still doesn't work.
.
Posted - Sep 08 2002 :  01:04:07  Show Profile  Reply with Quote
There are errors in your coding:

When using Pro which has been especially developed for loading multiple images (upgraded for Macs which have a memory problem), the loading applet needs to load last, otherwise a busy page such as yours will interrupt the image download. So the first thing to do is move the loading applet so that it appears at the bottom of your html (but still inside your closing body/html tags).
Go to Top of Page
Posted - Sep 08 2002 :  01:06:30  Show Profile  Reply with Quote
Ok, tried that but it still won't show the images :-(
Go to Top of Page
Posted - Sep 08 2002 :  01:24:14  Show Profile  Reply with Quote
It seems that you have your image class files in a folder different to the one for the pages and class files.

It is possible to do this but you need to do it properly. The applet will look for the image files according to the location of the Java files, which according to the first line of the applet code, is locally and not where your images are at.

You need to create a CODEBASE.

For example, if you want your pages in the root of your site (or anywhere else for that matter) and have your image class files and Java class files elsewhere (the Java and image class files do need to be in the same folder for this to work folder) then you can add a CODEBASE statement to the first line of the applet code. Then the applet will look there for all associated files and you can stick to local references within the applet.

For example:

<applet codebase=/encryptedimages code="ArtistscopePro.class" height="223" width="298" id="Artistscope">

In this example, both your Java class files and your encrypted images will be in a folder at http://yourSite.com/encryptedimages/ and their web pages can be anywhere you like.
Go to Top of Page
Posted - Sep 17 2002 :  19:26:36  Show Profile  Reply with Quote
We've tried these possibilities.

<APPLET code="ArtistscopeViewer.class" width={$photos[i].thumb_width} height={$photos[i].thumb_height} name=Artistscope{$ctr|pad_left:3} id=Artistscope>

Result: This works but we get half pictures.


<APPLET codebase=/files/photo_gallery code="ArtistscopeViewer.class" width={$photos[i].thumb_width} height={$photos[i].thumb_height} name=Artistscope{$ctr|pad_left:3} id=Artistscope>

Result: We get grayed colored background but no pics.


<APPLET codebase=/files/photo_gallery code="ArtistscopePro.class" width={$photos[i].thumb_width} height={$photos[i].thumb_height} name=Artistscope{$ctr|pad_left:3} id=Artistscope>

Result: We get grayed colored background but no pics.

THIS IS THE DEFAULT CODE.

{include file="location.tpl" last_location=$lng.lbl_photo_gallery}
{capture name=dialog}
{if $photos eq ""}
<B>There are no photos yet.</B>
{else}
{assign var="col" value=0}
{assign var="ctr" value=0}
<TABLE width=100% border=0 cellpadding=0 cellspacing=0>
{section name=i loop=$photos}
{if $col eq 0}
<TR valign=top>
{/if}
<TD width={math equation="round(100/x, 0)" x=$photo_cols}% align=center valign=top>
<APPLET code="ArtistscopeViewer.class" width={$photos[i].thumb_width} height={$photos[i].thumb_height} name=Artistscope{$ctr|pad_left:3} id=Artistscope>
<param name="border" value= "0" >
<param name="loading" value= "{#ImageLoadingMessage#}" >
<param name="label" value= "Click to enlarge" >
<param name="textColour" value= "ffffff" >
<param name="borderColour" value= "000000" >
<param name="style" value= "ImageLink" >
<param name="link" value= "{$http_location}customer/photo.php?pic={$photos[i].photo_id}">
<param name="targetFrame" value= "_self" >
</APPLET>
{math equation="x+1" x=$ctr assign="ctr"}
<BR>{$photos[i].comment}
<BR><BR>
</TD>
{math assign="col" equation="x+1" x=$col}
{if $col eq $photo_cols}
{assign var="col" value=0}
</TR>
{/if}
{/section}
</TABLE>
{* <APPLET codebase="/files/{$GALLERY_NAME}" code=ArtistscopePro.class width=1 height=1 name=ArtistscopePro id=Artistscope> *}
<APPLET code=ArtistscopePro.class width=1 height=1 name=ArtistscopePro id=Artistscope>
{assign var="ctr" value=0}
{section name=i loop=$photos}
<param name="fileName{$ctr|pad_left:3}" value="../files/{$GALLERY_NAME}/{$photos[i].filename}">
<param name="fileSize{$ctr|pad_left:3}" value={$photos[i].filesize}>
{math equation="x+1" x=$ctr assign="ctr"}
{/section}
</APPLET>
{/if}
<CENTER>
{if $smarty.get.page gt 0}
<A href="gallery.php?page={math equation="x-1" x=$smarty.get.page}"><IMG src="../{#ImagesDir#}/prev.gif" border=0 width=30 height=30></A>   
{/if}
{if $next_page gt -1}
<A href="gallery.php?page={$next_page}"><IMG src="../{#ImagesDir#}/next.gif" border=0 width=30 height=30></A>
{/if}
</CENTER>
{/capture}
{include file="dialog.tpl" content=$smarty.capture.dialog title=$lng.lbl_photo_gallery extra="width=100%"}


Would you have any solution to our problem.

Thanks AH
Go to Top of Page
Posted - Feb 20 2004 :  09:30:22  Show Profile  Reply with Quote
If you want us to do your work for you, please book a job.
Go to Top of Page
Previous Topic Topic Next Topic  
ArtistScope CD | CopySafe | Scroll Image | Secure ImageZoom Image | Purchase | TechniquesPlatformsSupport | Site Map | Contact
Copyright © 1998-2008 ArtistScope. All Rights Reserved.