Giter Club home page Giter Club logo

Comments (6)

Eumolp avatar Eumolp commented on May 26, 2024

use src AND treatIdAsReference="1":

<f:image src="{image.uid}" treatIdAsReference="1" />

#-) Thankyou for reading

from mask_export.

taunusweb avatar taunusweb commented on May 26, 2024

Hi @Eumolp , sorry for commenting here, but I ran into the same problem, but your solution isn't working in my case, I'm sure, that I make something wrong... Can you please post your whole working code, I want to look to the "<f:for each" section that's surrounding the "<f:image"
Thanks in Advance Uli

from mask_export.

IchHabRecht avatar IchHabRecht commented on May 26, 2024

Hi Ulrich,

Would you mind to share you code (maybe even in a new issue) to find your problem?

from mask_export.

taunusweb avatar taunusweb commented on May 26, 2024

Hi, this is the generated Code:
<f:if condition="{processedRow.tx_wsboostrapcomponents_cardimage}"> <strong><f:translate key="LLL:EXT:ws_boostrapcomponents/Resources/Private/Language/locallang_db.xlf:tt_content.tx_wsboostrapcomponents_cardimage" /></strong> <br><f:for each="{processedRow.tx_wsboostrapcomponents_cardimage}" as="item"> <ul> <li> <f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_file_reference.uid_local" /> {item.uid_local} (id={item.uid})<br/> </li> </ul> </f:for> </f:if>
My Problem: How to get the Preview Image.

from mask_export.

IchHabRecht avatar IchHabRecht commented on May 26, 2024

Hi Ulrich,

you should get your preview image with <f:image src="{item.uid}" treatIdAsReference="1" />

from mask_export.

taunusweb avatar taunusweb commented on May 26, 2024

Yes, that works, but why now? I swear, I tried this before... ;) Thanks a lot!

from mask_export.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.