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

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

Re: Image Upload

Post by dmzx »

Beer wrote: 30 Apr 2019, 09:12 Thanks for the extension! :tumbsyes:
I did a little translation into Russian.
I would add a description to the downloadable file - as is the Attachments in phpBB forum. :wink:
Thanks for this!

User avatar

Beer
Users
Users
Posts: 9
Joined: 30 Apr 2019, 08:29
    Windows 7 Chrome

Re: Image Upload

Post by Beer »

Forgot to add: links may be relative, not absolute.

Code: Select all

[img]/images/chl_logos/dmzx-web_extensions_light.png[/img]
[img]https://www.dmzx-web.net/images/chl_logos/dmzx-web_extensions_light.png[/img]
1.
Image
2.
Image

User avatar

clight77
Donator
Donator
Posts: 504
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Image Upload

Post by clight77 »

Hi
I am trying to set the popup page dimensions,can't seem to change it.
What file should I be looking at?

THX

User avatar

martin
Admin
Admin
Posts: 5115
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Image Upload

Post by martin »

In da files :rolling:

ext/martin/cssmagic/styles/prosilver/template/event/dmzx_mchat_buttons_after.html

change 600, 675 to suit.
Image

User avatar

clight77
Donator
Donator
Posts: 504
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Image Upload

Post by clight77 »

And here I thought it would be in dmzx/image upload... :)

User avatar

martin
Admin
Admin
Posts: 5115
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Image Upload

Post by martin »

:rolling: its just magic :lol:

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6483
Joined: 13 Jan 2014, 21:45
    Android Chrome

Re: Image Upload

Post by dmzx »

martin wrote: 24 May 2019, 16:38 :rolling: its just magic :lol:
:thumbup:

User avatar

Beer
Users
Users
Posts: 9
Joined: 30 Apr 2019, 08:29
    Windows 7 Chrome

Re: Image Upload

Post by Beer »

Imageupload.php, find:

Code: Select all

'FILENAME'	=> generate_board_url() . '/' . $upload_dir . $upload_file->get('realname'),
replace:

Code: Select all

'FILENAME'	=>  '.' .'/' . $upload_dir . $upload_file->get('realname'),
Now the links will be relative and shorter:
before:

Code: Select all

[img]https://www.dmzx-web.net/forum/ext/dmzx/imageupload/files/001.jpg[/img]
after:

Code: Select all

[img]./ext/dmzx/imageupload/files/001.jpg[/img]
How to add title when loading a file?
Can I add a field description phpbb_image_upload?

User avatar

martin
Admin
Admin
Posts: 5115
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Image Upload

Post by martin »

And what if i upload on my site and post the link on this site ? did you think about that ?

User avatar

Sniper_E
VIP
VIP
Posts: 1160
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: Image Upload

Post by Sniper_E »

So... do you think generate_board_url() will give the correct address when you upload to your site and post here? You need a better analogy for your argument.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

spinecki
Users
Users
Posts: 9
Joined: 14 Feb 2017, 08:00
    Windows 10 Firefox

Re: Image Upload

Post by spinecki »

Is there any chance for multiupload and draganddrop?

User avatar

ivailo95
Users
Users
Posts: 919
Joined: 02 Feb 2018, 12:04
    Android Chrome

Re: Image Upload

Post by ivailo95 »

spinecki wrote: 08 Jul 2019, 23:32 Is there any chance for multiupload and draganddrop?
i was asking about it
ivailo95 wrote: 26 Apr 2019, 11:30 is there any possibility to upload image with drop?
i mean with droping image into image upload ext smth like imgyr :roll:
Feed like a disease
And bring them to their knees
They'll pay for their deceit

User avatar

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

Re: Image Upload

Post by dmzx »

No for now not, maybe future it will be. (no time indication)

User avatar

Beer
Users
Users
Posts: 9
Joined: 30 Apr 2019, 08:29
    Windows 7 Chrome

Re: Image Upload

Post by Beer »

martin wrote: 13 Jun 2019, 12:06 And what if i upload on my site and post the link on this site ? did you think about that ?
And if I change then the domain name?
My option for changing a domain name is good.

User avatar

ivailo95
Users
Users
Posts: 919
Joined: 02 Feb 2018, 12:04
    Windows 7 Firefox

Re: Image Upload

Post by ivailo95 »

How can i change color button of text "copy" ?

Post Reply Previous topicNext topic