Managing Inserted Pictures to article

GK User
Sun Feb 01, 2015 12:22 pm
Hi,
What settings should I change in order to have each picture inserted in the body of an article, to be shown in a "fit to screen" size, instead of a "fit to width" size, as it is by default?

Thank you for your time.
User avatar
Senior Boarder

teitbite
Sun Feb 01, 2015 2:31 pm
Hi

Can You please explain a little better ? "fit to screen" sounds like You would like image displayed from one side of the screen to the other and covering whole website. Do You need it for background or something ?
User avatar
Moderator

GK User
Mon Feb 02, 2015 3:40 pm
Thank you for your reply.

I'll try to explain it better:

Fit to screen: When the image is auto-resized in order to be fully seen in the current screen resolution, regardless if it is in landscape or portrait orientation. In other words, when the image is auto-resized (but not stretched) to fit both width and height of the screen (not the web page).

Fit to width: When the image is auto-resized in order to fit the screen width, but the image height might be larger of the screen height (for example when the image has a portrait orientation), so the user will have to scroll up or down, in order to fully see the image.


No, I do not want it for a background. \
As the website is photography show room oriented, I am actually trying to find the best possible way to set-of every image/picture.
So I am thinking, one way is that the image to best fit the screen for best viewing result.
User avatar
Senior Boarder

teitbite
Wed Feb 04, 2015 11:35 am
Hi

If it's a photography related website than I believe fit to screen is not a best option, because is for example portrait view screen will have to become very height. Matching image height to it will result in cutting most of the picture.

Please tell me the url to the pages where You would like to adjust images, so I'll help with css code there.
User avatar
Moderator

teitbite
Fri Mar 06, 2015 12:10 pm
Hi

This is the only way to show image uncut with this code added to override.css:

Code: Select all
.single-page > .header {
    background-repeat: no-repeat;
    background-size: auto 100%;
}


but it does not look correct ;/
User avatar
Moderator

teitbite
Fri Mar 13, 2015 10:25 am
Hi

Answering Your PM about links in Image Show. Do You mean the sentence "MOD_IMAGE_SHOW_PHOTO_READMORE" showing instead of text when K2 source is linked ??

This is a translation value. You can add it to language overrides in joomla panel with a translation of Your choice.
User avatar
Moderator

teitbite
Fri Mar 20, 2015 9:36 pm
Hi

I got Your PM about broken modules. Noone else hes reported such behaviour so I'm not sure what could happen. I would advice to simply reinstall them, but this may mean that something happened to Your files. I would make a scan for a malware possibly corrupting files.
User avatar
Moderator


cron