•  » Themes
  •  » [resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

#1 2023-05-03 10:16:59

nickO
Member
2021-01-11
30

[resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

Hello,

I am sure this is a very basic question with a very obvious answer but can somebody tell me how to insert an image into the Hero Banner and what size that image should be?

Thanks!
Nick.

Environment

    Piwigo 13.6.0 Check for upgrade
    Installed on 7 October 2022, 6 months 3 weeks 5 days ago
    Operating system: Linux
    PHP: 8.1.18 (Show info) [2023-05-03 09:14:00]
    MySQL: 10.6.12-MariaDB-log [2023-05-03 09:14:00]
    Graphics Library: ImageMagick 7.1.0-62
    Cache size 1312.81 Mo   calculated 4 weeks ago Refresh

Activated plugin list 7

    Community
    LocalFiles Editor
    OpenStreetMap
    Rotate Image
    Smilies Support
    Take A Tour of Your Piwigo
    VideoJS



Piwigo URL: https://piwigo.thecobwebs.duckdns.org

Last edited by nickO (2023-05-03 11:23:10)

Offline

 

#2 2023-05-22 07:56:44

hannah
Piwigo Team
2019-04-24
60

Re: [resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

Hi nickO,

you can find this directly in the theme configuration. If you look at the bootstrap darkroom settings you will find it the the Page header settings.

For the banner style you need to select Hero image, you then get an input appear to add the link to the image you wish to use in the hero banner.

Size wise we generally use an image around 2000px wide.

Hope this helps

Offline

 

#3 2023-06-10 11:37:28

nickO
Member
2021-01-11
30

Re: [resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

Thank you, hannah,

Please excuse my ignorance but how do I find the link to the photo?

Thanks,
Nick.

Offline

 

#4 2023-06-19 08:21:32

hannah
Piwigo Team
2019-04-24
60

Re: [resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

Not a problem, you can get the image link if you right click on the image when on the picture page. You should have the option to "copy image link" or if you select "open image in new tab" you can copy the url from your browser.

Hope this helps

Offline

 

#5 2023-06-19 22:35:53

nickO
Member
2021-01-11
30

Re: [resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

Wow, that was easy! Thank you, hannah! Do you have any recommendations for height in pixels?

Thanks,
Nick.

Offline

 

#6 2023-06-21 08:35:48

hannah
Piwigo Team
2019-04-24
60

Re: [resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

You're welcome


nickO wrote:

Do you have any recommendations for height in pixels?

As long as you choose an image that is in the landscape format the height you don't need to change the height. In Bootstrap darkroom the banner is adaptive so the image it uses will always use 100% of the width and then the height will be more or less hidden depending on your screen size and which page of your Piwigo you are on.

If the hidden section of the image is what you want displayed there are ways with CSS to reposition the background image

Offline

 
  •  » Themes
  •  » [resolved] Insert image into Hero Banner - Bootstrap Darkroom Theme

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact