# Illustration dans page de login

**URL:** <https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098>\
**Category:** Hosting Support\
**Created:** [October 6, 2026, 5:49am UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098 "2026-10-06T05:49:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 6, 2026, 5:49am UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/1 "2026-10-06T05:49:23Z")

</div>

### Website URL

[https://tradensemble.rf.gd](https://tradensemble.rf.gd)

### Error Message

Hello,  
Is it possible to add an image (JPG or other format) to the login page?  
If so, which file needs to be modified (.htaccess or another)?  
And finally, what code should be used to ensure the image is the right size and centered?

### Other Information

Thank you for your valuable help.

---

<div class="post-metadata">

**Author:** ![Lemni](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lemni/32/68303_2.png) [@Lemni](https://forum.infinityfree.com/u/Lemni)\
**Post date:** [October 6, 2026, 5:49am UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/2 "2026-10-06T05:49:34Z")

</div>

_Beep boop, I’m a bot! I dug through the forum to get you started. I sometimes get things wrong though, so do with this what you will until a human has a look._

Which login page do you mean? The answer depends on what produces it, so I need to know that first.

- Is it a login form from a script or CMS, like WordPress? If so, which one?
- Is it a login form you wrote yourself in HTML or PHP?
- Is it the grey browser popup that asks for a username and password?

If it’s a form you wrote yourself, the image goes in the HTML file that contains the form, not in `.htaccess`. For a CMS, it’s usually changed through the theme or a plugin, so I’d need to know which CMS. The browser popup can’t show an image at all.

Also, the address you posted doesn’t match the free subdomain on your hosting account, which has a number in it. Can you confirm which address is the site with the login page?

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [October 6, 2026, 7:32am UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/3 "2026-10-06T07:32:47Z")

</div>

It’s possible on most systems. But end of the day, you built your site. We don’t even know what tools you used to build it.

Ultimately the best person to answer your question is you

---

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 6, 2026, 8:16am UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/4 "2026-10-06T08:16:41Z")

</div>

I realized too late that I couldn’t modify the .htaccess file.

The goal is to display the following on the same screen simultaneously:

- an image showing the site the user wants to visit (unprotected);

- a pop-up underneath asking for the username and password to access the actual site.

I am using Dreamweaver to build the site.

---

<div class="post-metadata">

**Author:** ![dan3008](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/dan3008/32/68577_2.png) [@dan3008](https://forum.infinityfree.com/u/dan3008)\
**Post date:** [October 6, 2026, 8:42am UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/5 "2026-10-06T08:42:44Z")

</div>

That sounds like it should be possible with a custom login screen.

I’m not overly familiar with Dreamweaver. But a quick Google got me this article

[https://helpx.adobe.com/dreamweaver/desktop/building-applications-visually/building-login-page.html](https://helpx.adobe.com/dreamweaver/desktop/building-applications-visually/building-login-page.html)

For Dreamweaver specific issue you might be better if they have their own support forum asking there.

If you’re using the infinity free protected directories tool, then I don’t think what you’re trying to do is possible with that

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [October 6, 2026, 10:46am UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/6 "2026-10-06T10:46:18Z")

</div>

> [@Mickey19](#):
>
> I realized too late that I couldn’t modify the .htaccess file.

You can modify the .htaccess file, just not the one in your account’s root folder. But like it says right at the top of that file, you can create a new .htaccess file in your website’s htdocs folder and add your own rules there.

> [@dan3008](#):
>
> If you’re using the infinity free protected directories tool, then I don’t think what you’re trying to do is possible with that

No, that’s 100% not possible. The protected directories feature makes use of HTTP basic auth, meaning that the server just says “please login”, and the actual login screen is created by the browser itself. You can specify a description, but that’s all the protocol supports.

If you want more control, you’ll need a login system as part of your website. And then what styling options are available depends on how your website is built.

---

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 6, 2026, 12:52pm UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/7 "2026-10-06T12:52:04Z")

</div>

I understand, it’s too difficult for me. Thank you

---

<div class="post-metadata">

**Author:** ![Mickey19](https://forum.infinityfree.com/letter_avatar/mickey19/32/6_449c533f586939b6e5f246632a46421f.png) [@Mickey19](https://forum.infinityfree.com/u/Mickey19)\
**Post date:** [October 7, 2026, 4:01pm UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/8 "2026-10-07T16:01:03Z")

</div>

I’ve given it some more thought, and with the help of an AI, I can see a way to create a login page that grants access to the protected site, just as you suggested. I had the idea in mind already, but I wasn’t sure if it was feasible—or, more importantly, how to go about it. I now have a code template that should theoretically allow me to handle this, keeping things as simple as possible to start with. If you’re interested—and provided the code works—I’d be happy to share it. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [October 14, 2026, 4:01pm UTC](https://forum.infinityfree.com/t/illustration-dans-page-de-login/121098/9 "2026-10-14T16:01:07Z")

</div>

Closed on October 14, 2026, 4:01pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
