Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 5:52 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Image not visseble when published
PostPosted: October 13th, 2006, 10:44 am 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
Hi,
Is set an text field ( Image ) to :

<SYSTEM_PUBLICATION_DIR>\Layouts\<afbeelding6>.gif

When previeuwed ok, when published, no Image. All paths also set in publication dir!!!

Hope somebody can help.

Cheers

Ronnie


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 13th, 2006, 1:17 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi Ronnie

These pathnames with variables and system variables can be tricky. Sometimes, the only way I can figure them out is by trial and error until I find the right path.

Would it work to have

<SYSTEM_PUBLICATION_DIR>\Layouts\<image1>

and then arrange an action on the page or by button to set the <image1> variable using "set variable" under the programming tab? I believe if you then include a series of .gif images in the Layout folder in the publication directory, once the <image1> variable is set to one or another of these, it would display the image chosen. (If you can not add a folder to your final publication directory, you could include the separate .gif image files and remove "Layouts" from the pathname.) Try it out and check if it works.

I hope this helps. Otherwise, post a sample .imp file on the Forum, so I and others can get a better idea of what you are trying to accomplish.

Kind Regards,

_________________
Stephen


Top
 Profile  
 
 Post subject:
PostPosted: October 13th, 2006, 6:33 pm 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
Hi Stephen,

Changed it to set variable to

Code:
image+"gif"


No result when published. I will try to put the imp-file on the forum, in the mean time any help woul'd be great.\


cheers


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 13th, 2006, 6:57 pm 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
Stephen,

Jpeg works fine?????????

Strange problem......

Cheers

Ronnie


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 13th, 2006, 7:21 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
This is what I did.

If you are meaning how to display an image with variables, this is what I put in the Filename field:
Code:
<SYSTEM_PUBLICATION_DIR>layouts\<afbeelding6>.png


On the Page I did a onShow action to set afbeelding6 to the image name.
I made sure the image was initially hidden and then set to display after .05 seconds.

If you are meaning how to display the filename in an text field via variables, this is what I did:
I have a Page action onShow to set pathtoimage variable to
Code:
<SYSTEM_PUBLICATION_DIR>
.
Then I have another action to set the pathtoimage variable to an expression (
Code:
<SYSTEM_PUBLICATION_DIR>layouts\<afbeelding6>.png
)
Then for the text field displaying this information I inser the pathtoimage variable and initially hide the text field, showing it after .05 seconds.

I publish and launch and I see the image and the textfield with the problem pathname in it.

Hope this helps.

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 13th, 2006, 7:23 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Ronnie Dackus wrote:
Stephen,

Jpeg works fine?????????

Strange problem......

Cheers

Ronnie


I believe due to the licensing issues with the .GIF format there may be an issue of calling externally. I seem to recall somewhere that DW said that you could not use Opus as a "GIF viewer". Perhaps they could offer further assistance?

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 13th, 2006, 9:44 pm 
Offline

Joined: October 25th, 2004, 3:03 pm
Posts: 540
Location: Tyalgum Creek. Australia
Opus: Opus Pro Latest version 9.02 Build 16458
OS: Won 10
System: Asus laptop Intel Core i5 8 gig ram, big monitor, reading glasses
Ronnie

Not sure if the gif file you refer to is an animated gif. If so, the Opus help file says

"Note that Opus does not support animated GIFs without a global palette. Although these files will display successfully in the editor they will not appear properly in the published version of your file."

If your gif is not an animated, the above will be of absolutely no use to you :D

Cheers

Graham

_________________
Too much coffee can result in frequent toilet breaks!


Top
 Profile  
 
 Post subject:
PostPosted: October 14th, 2006, 12:00 am 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
bwpatric wrote:
I believe due to the licensing issues with the .GIF format there may be an issue of calling externally. I seem to recall somewhere that DW said that you could not use Opus as a "GIF viewer".

Indeed. The player will only support BMP, JPG and PNG files -all other formats are converted internally by the editor at compile time and so cannot be read as external files in the player.

_________________
ddww Opus Developer


Top
 Profile Visit website  
 
 Post subject:
PostPosted: October 14th, 2006, 9:04 am 
Offline

Joined: April 1st, 2005, 6:59 pm
Posts: 98
Location: Maastricht, The Netherlands
Opus: V7
OS: Mac OS X 10.7.2 | Windows 8 Dev
System: i5 2.7 | 8G Ram | 1 T HD
No annimated gif. Just a screen shot!!!

Cheers.

Ronnie


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 83 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group