question about extension builder

This section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Forum rules
This forum section can be used to submit suggestions for Extension Builder.
Note that this section is not monitored for support.
Post Reply
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

question about extension builder

Post by [RZ] »

i need to display (live rendering) and/or publish an image but from a predefined ones.

if i set a property where the user can enter the filename it is not a problem:
<img src="$image$" border="0">

but what i need is that the user select from a list of predefined ones and no others, let's say in this way:
<img src="image$number$.png" border="0">

how can accomplish this?
thanks in advance.
gp2727
 
 
Posts: 130
Joined: Fri Nov 04, 2005 12:40 pm
Location: USA

Re: question about extension builder

Post by gp2727 »

You can use the "Options" type and if your just using numbers for image selections, you can select "Numeric" and set your range if in numerical order.
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: question about extension builder

Post by [RZ] »

sorry, but you didn't understand my question.
the image is not rendered if i do what you say.

i ask the same question again: how i can render an image in live rendering preview from a "list of available images" only?

i need to display (live rendering) and/or publish an image but from a predefined ones.

if i set a property where the user can enter the filename it is not a problem:
<img src="$image$" border="0">

but what i need is that the user select from a list of predefined ones and no others, let's say in this way:
<img src="image$number$.png" border="0">
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: question about extension builder

Post by Pablo »

I'm sorry I don't think what you are asking is possible. Unless you load the images from a server and use the actual file names as an option.
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: question about extension builder

Post by [RZ] »

thanks for your reply.
yes, currently i didn't found anything else yet.
i thought about what you say as a last resource.
may be a suggestion for a future eb update/upgrade?
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: question about extension builder

Post by Pablo »

may be a suggestion for a future eb update/upgrade?
What should it do?
What would be your input (as developer) and what code should it result in?
gp2727
 
 
Posts: 130
Joined: Fri Nov 04, 2005 12:40 pm
Location: USA

Re: question about extension builder

Post by gp2727 »

support wrote:
may be a suggestion for a future eb update/upgrade?
What should it do?
What would be your input (as developer) and what code should it result in?
Reference files internally within the extension. I believe files included in the extension itself are just pointers until previewed or published. They have no reference value to the Web Builder
workspace for display purposes. But you can preview in a browser or publish the extension and it will work.
So would it be possible to have a unique directory in the Extension Builder we could reference for display purposes or is this a pipe dream?
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: question about extension builder

Post by [RZ] »

thanks for the inputs.
i'm planning to make an extension later today (that i'm already using it but manually coded).
it will show you an example of what as developer need.
i live render some images placed on a server to workaround the limitation of showing predefined images locally.
when it's ready, i will post it in the 'Share self-made extensions with other users of WYSIWYG Web Builder' section.
regards and thanks again.
User avatar
[RZ]
 
 
Posts: 1914
Joined: Tue Nov 04, 2008 12:08 pm

Re: question about extension builder

Post by [RZ] »

here is an extension that explains what i initially needed:
viewtopic.php?f=42&t=46103
regards.
Post Reply