Skip to main content
Topic: just a picture attachment test, please ignore (Read 2505 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

just a picture attachment test, please ignore

Just wanted to see, how Elkarte 1.3 behaves, if one attaches a few pictures to one topic how the pics are displayed...
just ignore...


Re: just a picture attachment test, please ignore

Reply #2

The 1.1.x version added in a basic "lightbox" for the image display vs the 1.0.x expand in place style. 

There are also addons available for more advanced lightbox looks/effect but for the core we wanted to keep it as lite weight as possible.

Re: just a picture attachment test, please ignore

Reply #3

Elkarte 1.1 also introduced inline images, try the green button, you have a lot of options ;)

screen_418.png
sorry for my bad english

Re: just a picture attachment test, please ignore

Reply #4

Many thanks for the info.
Is there somewhere a demo site or a live site of another user,
where I can see, how one can add descriptions to each picture uploaded ?

I mean simular to a gallery plugin, where I can upload in one go maybe 10 to 20 pictures to a topic
or a gallery page and I could add under each picture a description of the picture,
so Google will find the picture and will index it good enough to be easily found in Google Image
search ?

What available plugin for Elkarte would you suggest for it ?
Many thanks.

Re: just a picture attachment test, please ignore

Reply #5

Let´s see how the inline image looks alike ?
Will this picture be at the left side and at the right side will be my text ?
Test
Test
Test
test.jpg

Re: just a picture attachment test, please ignore

Reply #6

Okay, now I see, how it works. but the text  seems not to be mapped to the right side around the picture...


How dangerous is the inline method to Cookie Stuffing ?
( if users will , instead of a picture,  post a 1x1 sized not visible http-Link URL and not a picture ? )

Re: just a picture attachment test, please ignore

Reply #7

Trying out Cookie stuffing to a harmless google.de adress with Inline image. to see,
if that works...


It is right here above this line not visible only in the source code...
So this works...
That is really dangerous for you forum....

Re: just a picture attachment test, please ignore

Reply #8

This afternoon I tested the inline attachments in my forum. Once with the image left and once centered.
The paddings to the sides can be changed or added in the index.css ( .bbc_img.floatleft , .bbc_img.floatright , .bbc_img.floatcenter).
That's how it looks:

Re: just a picture attachment test, please ignore

Reply #9

Well done. Looks good.

Can you please post these CSS changes, what you added there exactly in the index.css?
Many thanks.

Regards, Stefan.

Re: just a picture attachment test, please ignore

Reply #10

Hi!
The original lines:

Code: [Select]
.bbc_img.floatleft {
padding-right: .25em;
}

.bbc_img.floatright {
padding-left: .25em;
}

.bbc_img.floatcenter {
padding: 0 .25em;
}

And the lines with my changes:

Code: [Select]
.bbc_img.floatleft {
padding-right: .90em;
    padding-top: .50em;
    padding-bottom: .50em;
}

.bbc_img.floatright {
padding-left: .90em;
    padding-top: .50em;
    padding-bottom: .50em;
}

.bbc_img.floatcenter {
    padding-top: .60em;
    padding-bottom: .50em;
}

You can change the values of the .em in others, if you want to have larger distances.
.
ElkArte version: 1.1.8 / Theme: BeSocial / PHP 8.0