[Pro] How to store WebYep link as background-image

Hi everybody,

how can i extract the href- (or src-) link from the code snippet below and store it as:

.MyClass { background-image: url(/webyep-system/daten/im-Hintergrundbild-2170.jpeg)

Thanks for response.

_______________________________________________ freewaytalk mailing list email@hidden Update your subscriptions at: https://freewaytalk.softpress.com/person/options

Is your plan to have a class that displays an uploaded image or just this particular one.

If the latter then why not make a copy and use an action like Upload Stuff to keep it with your FW doc and store it on the server.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:

It is not specifically this image. A uploaded image by the user (with WebYep) to be used as background image.
My idea is something like this in the head section:

.MyClass { background-image: url(<? php echo ExtractedUrlFromWebYepImageElement >) }

Hubert


freewaytalk mailing list
email@hidden
Update your subscriptions at:

A uploaded image by the user (with WebYep) to be used as background image.

So you will need to create this new class (in FW) to use the uploaded WP image?

I am presuming that you would prefer this all to happen Automagically without you having to update the FW generated CSS.

If that is the case then can you be more specific about its use ie is this to happen on a specific item? What is the precise scenario you envisage?

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Done. I solved it in a different way.

Hubert


freewaytalk mailing list
email@hidden
Update your subscriptions at: