Deutsch  English  

Extension rgnewsimg

The extension rgnewsimg is another addon for the extension tt_news (thanks at this place to Rupi). The extension allows to display the images in the single view splitted in several parts. The parts can be positioned and configured independent from each other.

 

3 examples

The examples below should demonstrate what is already possible.

  • One big header images at the top of the news record, cropped with the TYPO3 functionality. All the other images are just at the right side of the text.
  • In opposition to the typ I the headerimage is a bit higher. The next 2 images are on the right side of the content and all the others are positioned at the left side.
  • 2 Headerimages next to each other which share the whole width. Underneath there is the teasertext and afterwards again 3 images sharing the whole width. All the other images are positioned left to the text.
Example 1: Headerimage + Standard
Example 2: Headerimage + Images left + Images right
Example 3: 2 Headerimages + 3 images + standard

Demonstration

Saturday 12. of April 2008 rgnewsimg Type I

Image 1

One big header images at the top of the news record, cropped with the TYPO3 functionality. All the other images are just at the right side of the text.


Saturday 12. of April 2008 rgnewsimg Typ II

Image 1

In opposition to the typ I the headerimage is a bit higher. The next 2 images are on the right side of the content and all the others are positioned at the left side.


Saturday 12. of April 2008 rgnewsimg TYP III

Image 1

2 Headerimages next to each other which share the whole width. Underneath there is the teasertext and afterwards again 3 images sharing the whole width. All the other images are positioned left to the text.


Write a comment about the extension rgnewsimg

answer to comment #12

21 Comments
Page 1 from 1: 1

#18 olaf (www ) wrote at 07.08.2008 21:53 answer

eine wunderbare extension. bevor ich mich an sie gewagt habe, bin ich ueber tt_news beschraenkte bildermöglichkeiten schier verzweifelt. >>> vielen, vielen dankl!!!

 

ein problem habe ich allerdings und wollte fragen, ob dies moeglich ist:

in einem der designsets soll die caption ueber dem bild stehen. geht das?

#19 ola (www ) wrote at 07.08.2008 22:13 answer

...ach so...und meine zweite frage:

eigentlich wollten wir eine möglichst barrierearme seite programmieren. bei der extension wird leider kein alt.text mitgegeben, oder kann man das einstellen?

#20 Georg Ringer (www ) wrote at 21.08.2008 12:25 answer

Hallo, caption sollte mit dem template problemlos gehen. alttext mit TS

#15 Klaus (www ) wrote at 24.07.2008 15:21 answer

Moin!

Eine wundervolle keine Ext! Gern würde ich aber noch meine Lightbox (Perfect Lightbox2 v2.2.3) auch für die neuen ImageSet mit nutzen. Läuft z.B. aber nur für die Bilder im Orginal tt_news-Marker ###NEWS_IMAGE###. Gibt's 'nen Trick - oder läuft dein rgsmoothgallery damit zusammen?

 

Bemerkung: Im Manual unter "You like the extension?" ist im ersten Link ein / zuviel ...

#16 Georg Ringer (www ) wrote at 30.07.2008 13:12 answer

Hallo,

 

sorry für die späte Antwort! das sollte kein problem sein, einfach die rel tags per TS noch dazugeben

#17 Klaus (www ) wrote at 05.08.2008 17:10 answer

Moin!

... ich dachte mir auch, das es ganz einfach sein sollte - aber ich hab wohl ein brett vom Kopf ... !

 

Laut Doko zu PerfectLightBox 2 (v2.2.3) vgl. S. 9: soll man einfach dem typolink ein .ATagParams = rel="... mitgeben. Also mein versuch:

 

[userFunc = user_rgnewsimg(1)]

plugin.tt_news {

rgnewsimg = 1

rgnewsimg {

split = 1,8

image2 {

imageLinkWrap.typolink.ATagParams = rel="lightbox[123456]"

imageLinkWrap.ATagParams = rel="lightbox[123456]"

}

}

}

[global]

 

so und Ähnliches führte aber nicht zum Erfolg (der rel="..." taucht nicht mal im Quelltext auf ... ). Ich denk mal ich hab da gerade eine Holzweg unter den Füssen (passend zum Brett vorm Kopf!).

 

Wo mach ich den Denkfehler? Schon mal Danke!

#21 Erik Svendsen (www ) wrote at 04.10.2008 15:29 answer

As I understand some German, but don't speak and write it, my comments are in English.

 

Klaus, your TS code is both incomplete and partly wrong.

 

Here is how I solved it, as using only typolink.ATagsParams didn't solved the problem

 

### Code which activate the Perfectlightbok ####

temp.imageLinkWrap = 1

temp.imageLinkWrap {

enable = 1

typolink {

### Note the names of the fields! They are different from the ones tt_content uses! (except imagecaption)

title.field = imagecaption // imagealttext // imagetitletext

title.split.token.char = 10

### This works only with the imageMarkerFunc!

title.split.returnKey.data = register : IMAGE_NUM_CURRENT

title.htmlSpecialChars = 1

 

parameter.cObject = IMG_RESOURCE

parameter.cObject.file.import.data = TSFE:lastImageInfo|origFile

parameter.cObject.file.maxW = {$plugin.perfectlightbox.lightBoxMaxW}

parameter.cObject.file.maxH = {$plugin.perfectlightbox.lightBoxMaxH}

 

ATagParams = rel="lightbox[lb{field:uid}]"

ATagParams.insertData = 1

}

}

 

### Code for the spesific rgnewsimg ( only the relevant part) ###

[userFunc = user_rgnewsimg(2)]

plugin.tt_news {

rgnewsimg = 1

rgnewsimg {

split = 1,4

}

image2 {

file {

imageLinkWrap = 1

imageLinkWrap < temp.imageLinkWrap ## using the perfectlightbox part

}

}

}

 

Working example. home.linnearad.no/weblog/nyhetsside/article/blomsterfryd-225//nbp/137.html. Sorry, only Norwegian.

#13 Ric (www ) wrote at 06.06.2008 11:06 answer

Kann es sein, dass diese Extension nicht funzt, wenn man das tt_news template "mittelstark" umgebaut hat? ...weil bei mir macht die Extension rein gar nichts.

#14 Georg Ringer (www ) wrote at 06.06.2008 11:07 answer

kann ich mir nicht vorstellen.

#4 Thomas (www ) wrote at 22.04.2008 21:01 answer

Seltsam, bei mir haben die Bilder danach eine viel schlechter Qualität. Das ist mir bereits bei der smooth gallery aufgefallen. Sind zwar JPGs, schauen aber auc wie GIFs. Woran das wohl liegt?

#5 Georg Ringer (www ) wrote at 22.04.2008 21:03 answer

Hallo Thomas, wenn du das cropping meinst, das wird mit 4.2. behoben oder du holst dir so den patch aus dem bugtracker, dann passts auch! die anderen bilder sollten auch so passen!

#6 Thomas (www ) wrote at 22.04.2008 21:09 answer

ups, das ging aber schnell...

Nein, das meine ich nicht. Es ist tatsächlich die Bildqualität selber. Bei den beschnittenen Bilder habe ich ein ziemliches GIF grieseln drinnen. Da scheint irgendeine Kompression oder so nicht zu funktionieren. Trotzdem danke für die promte Antwort.

#7 Georg Ringer (www ) wrote at 22.04.2008 21:11 answer

dann ist da aber sicherlich ein width=123c oder height=123c gesetzt. und das ist cropping

#8 Thomas (www ) wrote at 22.04.2008 21:29 answer

Eigentlich habe ich garnichts gesetzt. Alles nach Anleitung eingebaut und fertig.

 

Macht aber nichts leider ist die Extension nicht wirklich was ich suche. Ich würde gerne so wie in den Content Elementen Bilder in tt_news anordnen können. zB 3 Bilder in einer bestimmten größe nebeneinander usw. Finde ich eigentlich seltsam, dass diese Extension noch niemand geschrieben hat. Immerhin ist tt_news ja fast auf jeder typo3 Seite im Einsatz. Kennst du so eine Extension?

#9 Georg Ringer (www ) wrote at 22.04.2008 21:30 answer

die ext verwendet on default cropping ;)

www.rggooglemap.com/dev/rgnewsce.html ist wohl was du suchst?

#10 Thomas (www ) wrote at 22.04.2008 21:35 answer

JAAAAAAA! Hurra!

Aber leider gibt es diese Extension nocht nicht, oder?

Das wäre wirklich eine wunderbare Sache...

Genau was ich brauche (wahrscheinlich nicht nur ich)

LG Thomas

#11 Thomas (www ) wrote at 22.04.2008 21:55 answer

www.thomas-hirt.at/teatro/cms/mitmachen/kinder-news/detailansicht/datum/2008/04/22/fuer-tina-zierhofer-wieder-ein-erster-preis-maerz-2008.html

 

Hi!

Nur noch damit du das mit der Bildqualität mal siehst ein Link.

Den lasse ich aber nur bis morgen drinnen :)

LG Thomas

#12 Thomas (www ) wrote at 22.04.2008 22:23 answer

Diese Extension verbesseret die Qualität des Gifbuilders: kb_allcolors

Dann macht die Crop Funktion das Bild nicht zunichte!

#3 -christian (www ) wrote at 20.04.2008 22:42 answer

Moin! Warum kann ich die Extension nicht im TER finden? Bin ick blind!?

#1 Frank Hüttner (www ) wrote at 15.04.2008 13:09 answer

Wieder hat es Georg geschafft, mit einer Extension zu begeistern! Bitte weiter so Georg!!!

 

Gruß Frank

#2 Georg Ringer (www ) wrote at 17.04.2008 08:29 answer

Danke! Und nicht vergessen die Extension zu bewerten


21 Comments
Page 1 from 1: 1