3.2 & 3.3 Extensions Database 3.2 / 3.3Image Upload

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

Sniper_E
VIP
VIP
Posts: 1164
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Image Upload

Post by Sniper_E »

Well you're in the right place for that. That is definitely something I can't help you with.
You just need to quite using your wife's sex toys without supervision. LOL
Last edited by Sniper_E on 03 Dec 2023, 12:05, edited 1 time in total.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

toklat
New user
New user
Posts: 1
Joined: 29 Nov 2023, 21:32
    Windows 10 Chrome

Re: Image Upload

Post by toklat »

It's not a bug, rather cosmetic.
The commas between the allowed file extensions are not in the right place:
Image
Open /controller/imageupload.php
Line 274:

Code: Select all

$imageupload_allowed_extensions = implode(' ,', $allowed_extensions_array);
Replace with:

Code: Select all

$imageupload_allowed_extensions = implode(', ', $allowed_extensions_array);
Image

User avatar

yusufdj
Users
Users
Posts: 12
Joined: 21 Mar 2018, 00:02
    Windows 10 Chrome

Re: Image Upload

Post by yusufdj »

[progress][/progress]

User avatar

Sniper_E
VIP
VIP
Posts: 1164
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Image Upload

Post by Sniper_E »


Progress: of image uploaded
100%

User avatar

SpIdErPiGgY
Users
Users
Posts: 123
Joined: 04 Feb 2021, 23:54
    Windows 10 Firefox

Re: Image Upload

Post by SpIdErPiGgY »

Is it possible to use simple header and footer, or non of both...?
It's too "crowded" with that header and footer.
🌐 phpBB Extensions in Dutch
✦ Free translations, updates, support and practical tutorials for phpBB.
💚 Support this project on Ko-fi

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6572
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Image Upload

Post by dmzx »

SpIdErPiGgY wrote: 05 Sep 2025, 05:55 Is it possible to use simple header and footer, or non of both...?
It's too "crowded" with that header and footer.
What do you mean do you have image?

User avatar

SpIdErPiGgY
Users
Users
Posts: 123
Joined: 04 Feb 2021, 23:54
    Windows 10 Firefox

Re: Image Upload

Post by SpIdErPiGgY »

dmzx wrote: 05 Sep 2025, 07:48
SpIdErPiGgY wrote: 05 Sep 2025, 05:55 Is it possible to use simple header and footer, or non of both...?
It's too "crowded" with that header and footer.
What do you mean do you have image?
It would be nice to have the popup like this:

1.png
Instead of this:


2.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6572
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Image Upload

Post by dmzx »

imageupload_body.html
Replace with Replace the preceding lines with the following

Code: Select all

{% INCLUDE 'simple_header.html' %}

<form method="post" id="add_imageupload" {{ S_FORM_ENCTYPE }}>
	<div class="panel" id="showdiv">
		<div class="inner">
			<h2>{{ lang('IMAGEUPLOAD_UPLOAD_SECTION') }}</h2>
			<p>{{ lang('IMAGEUPLOAD_UPLOAD_MESSAGE') }}</p>
			<p>{{ IMAGEUPLOAD_ALLOWED_SIZE }}</p>
			<dl>
				<dt><label>{{ lang('IMAGEUPLOAD_NEW_FILENAME') }}{{ lang('COLON') }}</label> <input class="inputbox autowidth" type="file" name="filename" size="52" /></dt>
				<dd><label>{{ lang('ALLOWED') }} {{ lang('EXTENSION') }}{{ lang('COLON') }}</label>{{ IMAGEUPLOAD_ALLOWED_EXT }}</dd>
			</dl>
		</div>
	</div>
	<div class="panel bg2">
		<div class="inner">
			<fieldset class="submit-buttons">
				<input class="button1" id="submit" name="submit" value="{{ lang('SUBMIT') }}" type="submit" />&nbsp;
				{{ S_FORM_TOKEN }}
			</fieldset>
		</div>
	</div>
</form>

{% if FILENAME %}
<div class="panel bg2">
	<div class="inner">
		<fieldset class="fields2">
			<h4 id="showdiv">{{ lang('IMAGEUPLOAD_SUCCEEDED') }}<br /><br />{{ WIDTH }} {{ lang('PIXEL') }} * {{ HEIGHT }} {{ lang('PIXEL') }} - {{ SIZE }}</h4>
			<p id="codes">
				{% if IMAGEUPLOAD_ENABLE_DIRECT_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_DIRECT_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="{{ FILENAME }}" id="link" /><i class="buttoncopy" data-copytarget="#link">{{ lang('IMAGEUPLOAD_COPY') }}</i><br />
				{% endif %}
				{% if IMAGEUPLOAD_ENABLE_URL_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_URL_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="[url={{ FILENAME }}]{{ lang('IMAGEUPLOAD_BY') }} {{ SITENAME }}[/url]" id="url" /><i class="buttoncopy" data-copytarget="#url">{{ lang('IMAGEUPLOAD_COPY') }}</i><br />
				{% endif %}
				{% if IMAGEUPLOAD_ENABLE_IMG_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_IMG_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="[img]{{ FILENAME }}[/img]" id="img" /><i class="buttoncopy" data-copytarget="#img">{{ lang('IMAGEUPLOAD_COPY') }}</i><br />
				{% endif %}
				{% if IMAGEUPLOAD_ENABLE_URL_IMG_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_URLIMG_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="[url={{ FILENAME }}][img]{{ FILENAME }}[/img][/url]" id="urlimg" /><i class="buttoncopy" data-copytarget="#urlimg">{{ lang('IMAGEUPLOAD_COPY') }}</i><br /><br />
				{% endif %}
				<div id="showdiv">
					<img id="upload" src="{{ FILENAME }}" title="{{ lang('IMAGEUPLOAD_BY') }} {{ SITENAME }}" /><br />
				</div>
			</p>
		</fieldset>
	</div>
</div>
{% endif %}

{% if S_IMAGEUPLOAD_ENABLE_MULTI %}
{% INCLUDE 'imageupload_multi_upload.html' %}
{% endif %}

{% INCLUDE 'simple_footer.html' %}
overall_header_navigation_append.html
Replace with Replace the preceding lines with the following

Code: Select all

{% if IMAGEUPLOAD_USE_UPLOAD and IMAGEUPLOAD_NAV_ENABLE and not IMAGEUPLOAD_CENTER_ENABLE %}
<li data-last-responsive="true"><a href="{{ U_IMAGEUPLOAD_UPLOAD }}" target="_blank" title="{{ lang('IMAGEUPLOAD_UPLOAD') }}" role="menuitem"><i class="icon fa-upload" aria-hidden="true"></i><span>{{ lang('IMAGEUPLOAD_UPLOAD') }}</span></a></li>
{% else %}
<li data-last-responsive="true"><a href="{{ U_IMAGEUPLOAD_UPLOAD }}" onclick="popup('./imageupload', 670, 300); return false;" title="{{ lang('IMAGEUPLOAD_UPLOAD') }}" role="menuitem" data-navbar-reference="imageupload"><i class="icon fa-upload" aria-hidden="true"></i><span>{{ lang('IMAGEUPLOAD_UPLOAD') }}</span></a></li>
{% endif %}
posting_editor_submit_buttons.html
Replace with Replace the preceding lines with the following

Code: Select all

{% if IMAGEUPLOAD_USE_UPLOAD and IMAGEUPLOAD_POST_ENABLE and not IMAGEUPLOAD_CENTER_ENABLE	%}
<input type="button" class="button1" onclick="popup ('{{ U_IMAGEUPLOAD_UPLOAD }}', 670, 300); return false;" value="{{ lang('IMAGEUPLOAD_UPLOAD') }}" title="{{ lang('IMAGEUPLOAD_UPLOAD') }}" />
{% elseif IMAGEUPLOAD_USE_UPLOAD and IMAGEUPLOAD_POST_ENABLE and IMAGEUPLOAD_CENTER_ENABLE %}
<input type="button" class="button1" onclick="popup_center('{{ U_IMAGEUPLOAD_UPLOAD }}'); return false;" value="{{ lang('IMAGEUPLOAD_UPLOAD') }}" title="{{ lang('IMAGEUPLOAD_UPLOAD') }}" />
{% endif %}
popup.center.js & overall_footer_after.html
Find This may be a partial find and not the whole line

Code: Select all

var h = 700,
		w = 700;
Replace with Replace the preceding lines with the following

Code: Select all

var h = 300,
		w = 670;

Adjust the values if you want multiple upload on.


Image

User avatar

TomaGo
New user
New user
Posts: 1
Joined: 02 Feb 2024, 21:37
    Mac OS X Chrome

Re: Image Upload

Post by TomaGo »

Hello,

Thank you for this extension, it's what I'm looking for to be autonomous on image hosting.

Would it be possible for the BBCode links to be pasted directly into the message being written? Like with the postimages extension but for local hosting.

Thank you

User avatar

SpIdErPiGgY
Users
Users
Posts: 123
Joined: 04 Feb 2021, 23:54
    Windows 10 Firefox

Re: Image Upload

Post by SpIdErPiGgY »

dmzx wrote: 05 Sep 2025, 08:19
imageupload_body.html
Replace with Replace the preceding lines with the following

Code: Select all

{% INCLUDE 'simple_header.html' %}

<form method="post" id="add_imageupload" {{ S_FORM_ENCTYPE }}>
	<div class="panel" id="showdiv">
		<div class="inner">
			<h2>{{ lang('IMAGEUPLOAD_UPLOAD_SECTION') }}</h2>
			<p>{{ lang('IMAGEUPLOAD_UPLOAD_MESSAGE') }}</p>
			<p>{{ IMAGEUPLOAD_ALLOWED_SIZE }}</p>
			<dl>
				<dt><label>{{ lang('IMAGEUPLOAD_NEW_FILENAME') }}{{ lang('COLON') }}</label> <input class="inputbox autowidth" type="file" name="filename" size="52" /></dt>
				<dd><label>{{ lang('ALLOWED') }} {{ lang('EXTENSION') }}{{ lang('COLON') }}</label>{{ IMAGEUPLOAD_ALLOWED_EXT }}</dd>
			</dl>
		</div>
	</div>
	<div class="panel bg2">
		<div class="inner">
			<fieldset class="submit-buttons">
				<input class="button1" id="submit" name="submit" value="{{ lang('SUBMIT') }}" type="submit" />&nbsp;
				{{ S_FORM_TOKEN }}
			</fieldset>
		</div>
	</div>
</form>

{% if FILENAME %}
<div class="panel bg2">
	<div class="inner">
		<fieldset class="fields2">
			<h4 id="showdiv">{{ lang('IMAGEUPLOAD_SUCCEEDED') }}<br /><br />{{ WIDTH }} {{ lang('PIXEL') }} * {{ HEIGHT }} {{ lang('PIXEL') }} - {{ SIZE }}</h4>
			<p id="codes">
				{% if IMAGEUPLOAD_ENABLE_DIRECT_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_DIRECT_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="{{ FILENAME }}" id="link" /><i class="buttoncopy" data-copytarget="#link">{{ lang('IMAGEUPLOAD_COPY') }}</i><br />
				{% endif %}
				{% if IMAGEUPLOAD_ENABLE_URL_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_URL_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="[url={{ FILENAME }}]{{ lang('IMAGEUPLOAD_BY') }} {{ SITENAME }}[/url]" id="url" /><i class="buttoncopy" data-copytarget="#url">{{ lang('IMAGEUPLOAD_COPY') }}</i><br />
				{% endif %}
				{% if IMAGEUPLOAD_ENABLE_IMG_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_IMG_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="[img]{{ FILENAME }}[/img]" id="img" /><i class="buttoncopy" data-copytarget="#img">{{ lang('IMAGEUPLOAD_COPY') }}</i><br />
				{% endif %}
				{% if IMAGEUPLOAD_ENABLE_URL_IMG_LINK %}
				<label id="codehtml">{{ lang('IMAGEUPLOAD_URLIMG_LINK') }}{{ lang('COLON') }}</label><br />
				<input type="text" value="[url={{ FILENAME }}][img]{{ FILENAME }}[/img][/url]" id="urlimg" /><i class="buttoncopy" data-copytarget="#urlimg">{{ lang('IMAGEUPLOAD_COPY') }}</i><br /><br />
				{% endif %}
				<div id="showdiv">
					<img id="upload" src="{{ FILENAME }}" title="{{ lang('IMAGEUPLOAD_BY') }} {{ SITENAME }}" /><br />
				</div>
			</p>
		</fieldset>
	</div>
</div>
{% endif %}

{% if S_IMAGEUPLOAD_ENABLE_MULTI %}
{% INCLUDE 'imageupload_multi_upload.html' %}
{% endif %}

{% INCLUDE 'simple_footer.html' %}
Thank you! Just 1 issue ... This edit is losing the ccopy function... Js an css...

Screenshot 2025-11-01 at 11-25-52 phpBB NL Ext Vertalingen • Afbeelding Upload sectie.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

yusufdj
Users
Users
Posts: 12
Joined: 21 Mar 2018, 00:02
    Windows 10 Chrome

Re: Image Upload

Post by yusufdj »

Can I add a watermark?

User avatar

lopoto
Users
Users
Posts: 79
Joined: 28 Dec 2014, 01:59
    Mac OS X iPhone

Re: Image Upload

Post by lopoto »

Does anyone have an HSIMG bbcode for imageupload?

User avatar

lopoto
Users
Users
Posts: 79
Joined: 28 Dec 2014, 01:59
    Mac OS X iPhone

Re: Image Upload

Post by lopoto »

It looks like this for me, a link instead of a picture
IMG_4628.jpeg
any tips ?
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

SpIdErPiGgY
Users
Users
Posts: 123
Joined: 04 Feb 2021, 23:54
    Windows 10 Firefox

Re: Image Upload

Post by SpIdErPiGgY »

lopoto wrote: 22 Jan 2026, 00:42 It looks like this for me, a link instead of a picture

IMG_4628.jpeg

any tips ?
Do you have [hsimg] bbcode ? :eyes2:

User avatar

lopoto
Users
Users
Posts: 79
Joined: 28 Dec 2014, 01:59
    Mac OS X iPhone

Re: Image Upload

Post by lopoto »

No bbcode

Post Reply Previous topicNext topic