Discussion:
[TYPO3-english] Simple photo gallery image size
max exan
2017-10-25 09:23:45 UTC
Permalink
Hi to all,
I'm new in typo3, I created a gallery of a product using simple photo gallery, but I don't understand how it works.
I uploaded images using thumbnail size px 90x90 thumbnail are displayed correctly but if I click on the image they remain small.
I uploaded then images with higher resolution and thumbnail are giant thy cover all page !!
Someone can help me ?

Bye
Christian Hackl
2017-10-25 19:18:21 UTC
Permalink
hey,
your infos are not enough :) Witch gallery ext do you use? How looks your TYPO3 Config (Constants Editor at the BE)? and so on...
max exan
2017-10-26 13:01:50 UTC
Permalink
Hi, thank you for the answer, I use simple photo gallery (photo_gals).

My constant editor is this and is declared at root level:

# Limitation of picture widths in main content column:
styles.content.imgtext.maxW = 960

# Setting link targets to nothing (no frames mode)
PAGE_TARGET =
content.pageFrameObj =

# Making sure each line in image captions (of Image content elements) are applied to corresponding image number in the element:
styles.content.imgtext.captionSplit = 1
styles.content.imgtext.maxWInText = 0
styles.content.imgtext.linkWrap.width = 540
styles.content.imgtext.textMargin = 20
styles.content.loginform.pid = 0
styles.content.imgtext.colSpace = 20
styles.content.imgtext.borderColor = #5F8B00
styles.content.imgtext.borderThick = 1
styles.content.imgtext.borderSpace = 2
styles.content.imgtext.rowSpace = 18
Christian Hackl
2017-10-26 19:54:18 UTC
Permalink
perhaps helps you the docs of the ext:

https://docs.typo3.org/typo3cms/extensions/photo_gals/ExtsimplePhotoGallery/UsersManual/Configuration/Index.html

there (if i understand it correctly) can you set the image width and the thumbnail width in your TS.
Jan Bednarik
2017-10-30 22:00:14 UTC
Permalink
Hi,

you're quite brave to be using 11 years old extension. I wouldn't
recommend that. There's quite a collection of up to date galleries in
the repository -
https://extensions.typo3.org/?tx_solr%5Bq%5D=gallery&tx_solr%5Bfilter%5D%5B0%5D=typo3%3A8+LTS

Jan
Post by max exan
Hi, thank you for the answer, I use simple photo gallery (photo_gals).
styles.content.imgtext.maxW = 960
# Setting link targets to nothing (no frames mode)
PAGE_TARGET = content.pageFrameObj =
# Making sure each line in image captions (of Image content elements)
styles.content.imgtext.captionSplit = 1
styles.content.imgtext.maxWInText = 0
styles.content.imgtext.linkWrap.width = 540
styles.content.imgtext.textMargin = 20
styles.content.loginform.pid = 0
styles.content.imgtext.colSpace = 20
styles.content.imgtext.borderColor = #5F8B00
styles.content.imgtext.borderThick = 1
styles.content.imgtext.borderSpace = 2
styles.content.imgtext.rowSpace = 18
Loading...