logo
down
shadow

Typo3 getting image path with CONTENT


Typo3 getting image path with CONTENT

By : user36603
Date : November 19 2020, 01:01 AM
fixed the issue. Will look into that further Instead of using a content element on a hidden page you can use the "Resources" tab of a page, where you can upload files (in your case images). Usually you use the page on the top level of your TYPO3 pagetree for this, so you can inherit selected images to all subpages.
code :
lib.slider = FILES
lib.slider {
  references {
    data = levelmedia:-1, slide
  }
  renderObj = IMAGE
  renderObj {
    file.import.data = file:current:uid
    file.treatIdAsReference = 1
    altText.data = file:current:title
    wrap = <div class="slide">|</div>
  }
  stdWrap.wrap = <div class="slider">|</div>
}


Share : facebook icon twitter icon
How can i make a image selection field with FLUX that is like the TYPO3-native image content type?

How can i make a image selection field with FLUX that is like the TYPO3-native image content type?


By : Sukhpal Saini
Date : March 29 2020, 07:55 AM
will be helpful for those in need This feature has been added to the current flux master on github.
You can use it like this:
code :
<flux:flexform.field.inline.fal name="myimage"
     multiple="TRUE" maxItems="5"
     enabledControls="{info:1,new:1,dragdrop:1,sort:1,hide:1}"/>
TYPO3 getting image from page content

TYPO3 getting image from page content


By : Anup
Date : March 29 2020, 07:55 AM
will help you Maybe I don't understood correctly, but... you don't need to write it yourself, just in your main TS template include CSS Styled Content from extension, so you can render whole column like:
code :
page.20 < styles.content.get
tt_content.textpic.20.text.wrap = <div class="myNewsClass"> | </div>
tt_content.textpic.20.text.wrap = <div class="csc-textpic-text myNewsClass"> | </div>
TYPO3 - Output the image path via typoscript and database?

TYPO3 - Output the image path via typoscript and database?


By : OGPSWAN
Date : March 29 2020, 07:55 AM
it should still fix some issue In my Database is the TYPO3 Media-Image-File: header_image = 1 , here the Solution:
thanks to Paul Beck
code :
10 = FILES
        10 {
            references {
                table = tx_ext_name
                uid.data = GP:tx_ext_action|tx_ext_controller
                fieldName = header_image
            }
            renderObj = IMG_RESOURCE
            renderObj {
                file {
                    treatIdAsReference = 1
                    import.data = file:current:uid
                    width = 1200c
                    height = 630c
                }
            }
        }
10 = FILES
        10 {
            references {
                table = tx_ext_name
                uid.data = GP:tx_ext_action|tx_ext_controller
                fieldName = header_image
            }
                renderObj = TEXT
                renderObj {
                    data = file:current:publicUrl
                }
        }
TYPO3 - content element image add svg image

TYPO3 - content element image add svg image


By : Dusda
Date : March 29 2020, 07:55 AM
may help you . In the install tool there is a value that can change the recognized image file extensions:
Add ,svgto the input field for [GFX][imagefile_ext]under "All configuration" -> "$TYPO3_CONF_VARS['GFX']"
TYPO3 first available image of content elements

TYPO3 first available image of content elements


By : Eric Sun
Date : March 29 2020, 07:55 AM
wish of those help I used this to get the url of the first image on a page for open graph tags.
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org