Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3-shop] markers for individual images in template within the typo3-project-tt-products@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; is it possible to make markers in the template that would be replaced with a specific image (number)? for instance, ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
is it possible to make markers in the template that would be replaced
with a specific image (number)? for instance, if i have 2 images in a product, i wnt to be able to make a template marker ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one.... is this possible? thanks, andrew _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#2
|
|||
|
|||
|
Hello Andrew,
> is it possible to make markers in the template that would be replaced > with a specific image (number)? > > for instance, if i have 2 images in a product, i wnt to be able to make > a template marker > > ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and > ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one.... > > is this possible? Use this: ###PRODUCTS_IMAGE1### ###PRODUCTS_IMAGE2### The colon ':' is used only if a special image size configuration is needed. - Franz _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#3
|
|||
|
|||
|
how can I define such a size configuration?
that sounds interesting... a Franz Holzinger wrote: > Hello Andrew, > >> is it possible to make markers in the template that would be replaced >> with a specific image (number)? >> >> for instance, if i have 2 images in a product, i wnt to be able to make >> a template marker >> >> ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and >> ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one.... >> >> is this possible? > > Use this: > > ###PRODUCTS_IMAGE1### > ###PRODUCTS_IMAGE2### > > The colon ':' is used only if a special image size configuration is needed. > > - Franz > > > > > > _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#4
|
|||
|
|||
|
this doesnt appear to work.... also, products is always only displaying
the first product in the record list. do i need to do soemthing special to get it to display more than 1 image? (sorry, confused). Franz Holzinger wrote: > Hello Andrew, > >> is it possible to make markers in the template that would be replaced >> with a specific image (number)? >> >> for instance, if i have 2 images in a product, i wnt to be able to make >> a template marker >> >> ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and >> ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one.... >> >> is this possible? > > Use this: > > ###PRODUCTS_IMAGE1### > ###PRODUCTS_IMAGE2### > > The colon ':' is used only if a special image size configuration is needed. > > - Franz > > > > > > _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#5
|
|||
|
|||
|
scratch that, it works fine. here is my constants to make it happen:
plugin.tt_products.separateImage = 1 plugin.tt_products.limitImageSingle = 10 andrew Andrew Davis wrote: > this doesnt appear to work.... also, products is always only displaying > the first product in the record list. > > do i need to do soemthing special to get it to display more than 1 > image? (sorry, confused). > > Franz Holzinger wrote: >> Hello Andrew, >> >>> is it possible to make markers in the template that would be replaced >>> with a specific image (number)? >>> >>> for instance, if i have 2 images in a product, i wnt to be able to make >>> a template marker >>> >>> ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and >>> ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one.... >>> >>> is this possible? >> >> Use this: >> >> ###PRODUCTS_IMAGE1### >> ###PRODUCTS_IMAGE2### >> >> The colon ':' is used only if a special image size configuration is >> needed. >> >> - Franz >> >> >> >> >> >> _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#6
|
|||
|
|||
|
_______________________________________________
TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#7
|
|||
|
|||
|
Juan Pablo Villaverde a écrit :
> You mentioned the possibility of custom sizes for each product image using > PRODUCTS_IMAGE:1, PRODUCTS_IMAGE:2, etc. > How can this be done? Please publish the required typoscript. > You must use the image markers correctly: ###PRODUCTS_IMAGE1### Use the colon to have a separate image setup: ###PRODUCTS_IMAGE1:MYSETUP### And in the setup you can have for the tt_products table with all codes: plugin.tt_products.conf.tt_products.ALL.image.myse tup { wrap = |<br /> file.maxW = 320 file.maxH = 280 } Franz _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#8
|
|||
|
|||
|
_______________________________________________
TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#9
|
|||
|
|||
|
Juan Pablo Villaverde a écrit :
> I tried but now the image dissapeared! > > I have this: > <ul><li>###PRODUCT_IMAGE2 OS###</li></ul>> and this: > plugin.tt_products.conf.tt_products.ALL.image.dos { > wrap = | > file.maxW = 32 > file.maxH = 28 > } > > Should I enable something else via typoscript? > Yes, if you have more than one image, you must always set: limitImage = 10 separateImage = 1 Franz _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#10
|
|||
|
|||
|
_______________________________________________
TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Re: [TYPO3-shop] ###MARKERS### | Franz Holzinger | typo3-project-tt-products@lists.netfielders.de | 3 | 26.05.2007 20:40 |
| [TYPO3-shop] Hook for own markers | Tapio Markula | typo3-project-tt-products@lists.netfielders.de | 4 | 29.03.2007 14:30 |
| [TYPO3-shop] Dimensions of images | Tapio Markula | typo3-project-tt-products@lists.netfielders.de | 0 | 12.03.2007 10:22 |
| [TYPO3-shop] mini-basket -> markers | daniel | typo3-project-tt-products@lists.netfielders.de | 1 | 21.02.2007 11:48 |
| [TYPO3-shop] Show product images separated | Marko Milosevic | typo3-project-tt-products@lists.netfielders.de | 1 | 31.01.2007 13:29 |