Comments (6)
use src AND treatIdAsReference="1":
<f:image src="{image.uid}" treatIdAsReference="1" />
#-) Thankyou for reading
from mask_export.
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.
Hi Ulrich,
Would you mind to share you code (maybe even in a new issue) to find your problem?
from mask_export.
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.
Hi Ulrich,
you should get your preview image with <f:image src="{item.uid}" treatIdAsReference="1" />
from mask_export.
Yes, that works, but why now? I swear, I tried this before... ;) Thanks a lot!
from mask_export.
Related Issues (20)
- using use in ext_tables.php - maybe a hint HOT 7
- "Path to icon for irre elements" not in export HOT 1
- Update to Mask 7 HOT 4
- Export element to extension and use it standalone HOT 1
- Inline content elements shown as unused in page layout view HOT 2
- MASK 7 Update ??? HOT 2
- Support of PHP 8+ HOT 2
- Trim provided extension key
- Can't overwrite Backend Preview HOT 6
- Palette inside Tab not working HOT 1
- DB-Import for nested elements fails due to missing default-value of parentid.
- Error: Row size too large... because of doubled rows in database HOT 1
- LLL-String not working if the word "mask" is inside of the String
- Error "Array to string conversion"
- Repo's packages are not installable HOT 1
- Allow multiple partialRootPaths HOT 1
- TYPO3 12 compatibility / ExtensionUtility::registerModule()
- Strange segmentation fault (SIGSEGV) inside DDEV Context (502) HOT 1
- Mask 8 and TYPO3 12 HOT 4
- Version handling in composer.json HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mask_export.