We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Photo Plugin | Forum

Topic location: Forum home » Support » General Questions
Catkin
Catkin Nov 9 '19
Hello!


Is there a way to make Oxwall accept globally, images with transparency?
I understand they are compressed when they are uploaded but is there a way to make images retain transparency?

I would like the photo plugin to keep images transparent background when they are uploaded.

If this requires a custom plugin or developer time I can pay for the modification. 

ArtMedia
ArtMedia Nov 10 '19
you must edit oxwall core, because photo plugin using oxwal utils to resize uploaded photos, and when png images have transparency, then it is filled by black color
Patricia Zorrilla Leader
Patricia Zorrilla Nov 10 '19

True. The good news is that it can be done, the bad news is that you have to entertain yourself in looking for what files to modify.

I am making a plugin that uses this feature of transparencies, I attach a couple of screenshots

Attachments:
  Sin título2.png (649Kb)
  Sin título.png (108Kb)
Catkin
Catkin Nov 10 '19
heck, thats a bummer...


Who knows the files to edit? XD

Patricia Zorrilla Leader
Patricia Zorrilla Nov 10 '19

OxWall uses the wideimage library http://wideimage.sourceforge.net/ which is very good, and has it encapsulated with the UTIL_Image class that is in the ow_utilities/image.php file


To do this you have to make a copy of your entire website on your computer excluding the ow_userfiles folder (you don't need it and it is usually very large) and then with a text editor of those used in programming (Atom, PsPad or similar, they are free, look for them on Google) you search in all the .PHP files that you have downloaded all the places where  put "UTIL_Image" and from there it is already more complicated but you already have a list of all the sites you have to investigate.

These text editors have the possibility to search a text in a whole tree of folders full of files, which is what you need.


You will find that it is used in the avatar upload functions and in the Photos plugin, and if you have more plugins installed that include uploading photos, they will also use it.


Edith
Edith Dec 6 '19

Quote from Patricia Zorrilla Bcn

OxWall uses the wideimage library http://wideimage.sourceforge.net/ myfedloan which is very good, and has it encapsulated with the UTIL_Image class that is in the ow_utilities/image.php file


To do this you have to make a copy of your entire website on your computer excluding the ow_userfiles folder (you don't need it and it is usually very large) and then with a text editor of those used in programming (Atom, PsPad or similar, they are free, look for them on Google) you search in all the .PHP files that you have downloaded all the places where  put "UTIL_Image" and from there it is already more complicated but you already have a list of all the sites you have to investigate.

These text editors have the possibility to search a text in a whole tree of folders full of files, which is what you need.


You will find that it is used in the avatar upload functions and in the Photos plugin, and if you have more plugins installed that include uploading photos, they will also use it.


It was a great help ! Thank you very much for sharing this !
fedloan
fedloan Nov 24 '22

Excellent web site. A lot of useful information here. I’m sending it to a few pals and also sharing in delicious. And of course, thank you to your effort!


https://www.myfedloan.online/

Ivan Rekeleon
Ivan Rekeleon Jun 6 '23
Start a strong goal for executing virtual cash with the Merkeleon cryptocurrency exchange scripts Adjust the source code to dispatch a special trade. Overhaul design, present additional items, development security courses of action, procure benefit.
Henry bounse
Henry bounse Jul 14 '23
Another factor to consider is the construction of the tires. Trailer tires are built with stiffer sidewalls to withstand the lateral forces exerted during towing. Car tires, on the other hand, have more flexible sidewalls to provide a smoother ride. The difference in construction can affect the stability and handling of the trailer when using car tires. a fantastic readclick to read morefind more infosee it hereHomepage
Gary Hanson
Gary Hanson Nov 15 '23
A very useful plugin, it'll come in handy when working with photos and videos. For instance, I recently required color photos and I was able to find several that worked for me. Having access to stock photographs and visuals has really aided me in getting ready for presentations.
The Forum post is edited by Gary Hanson Nov 18 '23
kalvindarwan
kalvindarwan Dec 20 '23
We prove ourselves to our customers over and over again because of the consistent work and final product we bring to the table. Vallejo Pest Control Co.
James Walter
James Walter Jan 1
That’s why we’re proud to offer onsite truck repair services that keep you going. West Palm Beach Auto Glass Repair
look
look Jan 12
sometimes i have this problem with photo plugins too. So sometimes I turn to proven specialists https://depositphotos.com/bgremover.html who know this. But it is worth saying that it covers my needs completely
The Forum post is edited by look Jan 17