[TYPO3-english] Image processing, I am lost!

mario chiari ml at mariochiari.net
Tue Apr 5 19:20:13 CEST 2016


Hi Peter, All

kind of completely confused on images.

I tried to insert a 143.17 KB (146,610 bytes)
682px × 426px myimg001.jpeg file into a Image content element.
It is rendered ok, it is displayed fine within my FE page;  Firefox's View image
shows it at url /fileadmin/user_upload/myimg001.jpeg

I tried to insert a 272.41 KB (278,952 bytes) 1,016px × 1,449px myimg002.jpeg
file into a Image content element.
File is rendered fine, but it is not scaled down, \note-below. Firefox's View
image shows it at url /fileadmin/_processed_/csm_myimg002_59e8fae6a4.jpg (not
jpeg)(I can see scaled and not scaled)

If I try to insert the same files within the Text textarea of a Text content
element by the RTE Image insert buttom,
I am able to insert the smaller one as both a New Magic Image and a New Plain
Image, instead  the New Plain option seems to be disabled for the larger one. 
However, in both cases I get a fixed maximum width of 300, height of 428. Both
files are processed, and I get /fileadmin/_processed_/csm_ versions. 


I set the following TS options at the root page, but I do not see any
difference:

Costants
styles.content.imgtext {
    maxW = 1920
    maxWInText = 1920
}
styles.content.media.defaultVideoWidth = 1920
styles.content.media.defaultVideoHeight = 2080

Setup
tt_content.image.20.maxW = 1920 

RTE.default {
    buttons.image.options.magic.maxWidth = 1920
    buttons.image.options.magic.maxHeight = 2080
    buttons.image.options.plain.maxWidth = 1920
    buttons.image.options.plain.maxHeight = 2080
}

RTE. {
    buttons.image.options.magic.maxWidth = 1920
    buttons.image.options.magic.maxHeight = 2080
    buttons.image.options.plain.maxWidth = 1920
    buttons.image.options.plain.maxHeight = 2080
}


Moreover, if I insert the same files from within News Admin, Add Media File,
size is decreased and final quality is poor. I do not know whether I need to set
anything about News to avoid that.


Some of my configuration
[FE][activateContentAdapter] = 1  (this seems necessary to see images at all)
[GFX][im_version_5] = im6 
[GFX][im_v5effects] = 0
[GFX][jpg_quality] = 96 
[GFX][TTFdpi] = 96 
[GFX][colorspace] = RGB

What I would like is a option - for each single image, or at least for each
page - to avoid any image processing, and to be able to insert html scaling value (say width="50%")

your help is very welcome
thanks
mario


TYPO3 6.2.19 
rtehtmlarea 6.2.0 
news 3.2.4 

\note The larger .jpeg is shown without a slice on the right, I manage to fix
that somehow by making overflow:visible

page.CSS_inlineStyle  (
DIV.csc-textpic, DIV.csc-textpic DIV.csc-textpic-imagerow, UL.csc-uploads LI
{   overflow: visible; }  
DIV.csc-textpic-center .csc-textpic-imagewrap, DIV.csc-textpic-center
FIGURE.csc-textpic-imagewrap { overflow: visible; }
)


ps I am still not able to insert a .swf into a News record, why so?



On Tue, 2016-04-05 at 11:34 +0200, Peter Kühnlein wrote:
> Am 05.04.2016 um 11:17 schrieb mario chiari:
> > ....
> Hi Mario,
> 
> You can choose the jpg quality in the settings of the CE - or standard 
> quality in the install tool. (I think it's set to 80% by default.)
> The maximum height and width have to be set by TypoScript (or via 
> constant editor).
> 
> HTH Peter
> 


More information about the TYPO3-english mailing list