Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




563 posts

Ultimate Geek


# 150702 31-Jul-2014 12:01
Send private message

When attempting to upload some images using copy-paste into the WYSIWYG (as I've done below) sometimes the GZ language filter will pickup words out of the Base64 encoded image string as "bad words" (which is likely to happen when you're parsing 2KB+ strings of pseudo-random text).



Solution would be to not check words between <img src=" and " but probably the same issue with posting certain random URL's.

(Or we could all promise to be adults and drop the filter all together)...

Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
2123 posts

Uber Geek


  # 1099222 31-Jul-2014 12:13
2 people support this post
Send private message

I've seen a couple of threads about this sort of thing in the past.

I particularly like how you've now managed to post those two bad words using an image.




Location: Dunedin

 




563 posts

Ultimate Geek


  # 1099226 31-Jul-2014 12:18
Send private message

andrewNZ: I've seen a couple of threads about this sort of thing in the past.

I particularly like how you've now managed to post those two bad words using an image.


Well it was also rather coincidental that the words appeared in the two screenshots (one in each) I was trying to post showing VF login errors... which may have resembled what I was thinking when I hit the first error, then the second one.

Offending images here with offending string replaced with FUCX & Cunx respectively (so obviously not going to display properly):









 
 
 
 


gzt

10862 posts

Uber Geek


# 1099235 31-Jul-2014 12:34
Send private message

That screenshot looks a lot larger than it needs to be and would probably have annoyed the mods on that basis anyway. But more helpfully.. maybe a lot less compression in the image (and going to b&w) and your base64 edit would not matter so much : ). Ok, I know it's not that helpful.



563 posts

Ultimate Geek


# 1111796 20-Aug-2014 09:03
Send private message

Still getting this error, still annoying...

Is the filter rrrreaallly necessary?



563 posts

Ultimate Geek


  # 1111805 20-Aug-2014 09:17
Send private message

Or at least turn language filter off for subscribers, I would probably subscribe for that...

14037 posts

Uber Geek

Trusted
Subscriber

  # 1111812 20-Aug-2014 09:36
4 people support this post
Send private message

Language filters are essential.




Mike
Retired IT Manager. 
The views stated in my posts are my personal views and not that of any other organisation.

 

Using empathy takes no energy and can gain so much. Try it.

 

 




563 posts

Ultimate Geek


# 1111814 20-Aug-2014 09:43
One person supports this post
Send private message

KiwiNZ: Language filters are essential.


Oh ok, my mistake, problem solved.

 
 
 
 




563 posts

Ultimate Geek


  # 1112700 21-Aug-2014 11:10
Send private message

Also get 500 errors quite often when trying to submit posts with pasted images and more often when sending PM with pasted images, probably related..

BDFL - Memuneh
64249 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber



563 posts

Ultimate Geek


# 1112840 21-Aug-2014 14:19
Send private message

freitasm: Not all browser support paste images and these may have problems sometimes. Suggest uploading to Geekzone and using the BBCODE.



Check your logs, I'd say likely some SQL error when trying to save the mass of text, or hitting some sort of char/byte limit.

I don't blame you though; I wouldn't want a bunch of essentially BLOBs being stuffed into my carefully optimised database however it's just oh so convenient for the end user..

Any plans on the horizon for a better image upload function then? (have seen requested a few times & would prob subscribe for that to).

As opposed to the;

 

  • Take screenshot
  • Save image
  • Go to upload > oh bugger over 500kb (What is it 1995..)
  • Find a program to resize
  • Re-upload
  • Copy-paste code...
An integrated uploader would be nice; or yeah could just get the base64 copy-paste working and make it the standard (sorting out the storage/optimisation backend - I'm sure the scripts already exist or probably an option in some WYSIWYG's to save base64 blobs to file on upload).

EDIT: Personally haven't come across any modern browsers that don't support images this way, loads of large sites do it however as mentioned you can sort that backend if you like and just convert to a file for display.

gzt

10862 posts

Uber Geek


  # 1112883 21-Aug-2014 15:07
One person supports this post
Send private message

Iirc (it's been a while) I usually use a free external image host for this service and inline it with the bbcode img tag. Less steps in the process because many of those services provide simple small/medium/big choices and that's that. Yeah the host might disappear after a couple of years but it's not an issue for ephemeral discussions.



563 posts

Ultimate Geek


  # 1112894 21-Aug-2014 15:20
Send private message

gzt: Iirc (it's been a while) I usually use a free external image host for this service and inline it with the bbcode img tag. Less steps in the process because many of those services provide simple small/medium/big choices and that's that. Yeah the host might disappear after a couple of years but it's not an issue for ephemeral discussions.


You know of a good one to use?

gzt

10862 posts

Uber Geek


  # 1112938 21-Aug-2014 16:21
Send private message

I don't really think about it. There are tons of them. I just use the first one that comes up in google search. Today that is http://postimage.org/ no login required and many resizing options. You could also look at http://tinypic.com/ - of the names I looked at today that one has the biggest financial backer - owned by Photobucket.

'That VDSL Cat'
10651 posts

Uber Geek

Trusted
Spark
Subscriber

  # 1112944 21-Aug-2014 16:28
Send private message

kenkeniff: 
As opposed to the;

 

  • Take screenshot
  • Save image
  • Go to upload > oh bugger over 500kb (What is it 1995..)
  • Find a program to resize
  • Re-upload
  • Copy-paste code...

i tend to use imgur due to the fact that it takes easily 4 times as long to do the whole geekzone image upload system.


screenshot tool, instantly uploaded and in my clipboard, paste on geekzone. 

Simple and effective.


used to use photobucket, but their servers can be so slow, and they do dodgy things to photos unless you include ~original which breaks in many browsers last i checked...




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.




563 posts

Ultimate Geek


  # 1112952 21-Aug-2014 16:36
Send private message

hio77:
kenkeniff: 
As opposed to the;

 

  • Take screenshot
  • Save image
  • Go to upload > oh bugger over 500kb (What is it 1995..)
  • Find a program to resize
  • Re-upload
  • Copy-paste code...

i tend to use imgur due to the fact that it takes easily 4 times as long to do the whole geekzone image upload system.


screenshot tool, instantly uploaded and in my clipboard, paste on geekzone. 

Simple and effective.


used to use photobucket, but their servers can be so slow, and they do dodgy things to photos unless you include ~original which breaks in many browsers last i checked...



I went to imgur, got distracted looking the funny pictures then after about 10min forgot what I was doing there..

 1 | 2
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic



Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Intel expands 10th Gen Intel Core Mobile processor family
Posted 23-Aug-2019 10:22


Digital innovation drives new investment provider
Posted 23-Aug-2019 08:29


Catalyst Cloud becomes a Kubernetes Certified Service Provider (KCSP)
Posted 23-Aug-2019 08:21


New AI legaltech product launched in New Zealand
Posted 21-Aug-2019 17:01


Yubico launches first Lightning-compatible security key, the YubiKey 5Ci
Posted 21-Aug-2019 16:46


Disney+ streaming service confirmed launch in New Zealand
Posted 20-Aug-2019 09:29


Industry plan could create a billion dollar interactive games sector
Posted 19-Aug-2019 20:41


Personal cyber insurance a New Zealand first
Posted 19-Aug-2019 20:26


University of Waikato launches space for esports
Posted 19-Aug-2019 20:20


D-Link ANZ expands mydlink ecosystem with new mydlink Mini Wi-Fi Smart Plug
Posted 19-Aug-2019 20:14


Kiwi workers still falling victim to old cyber tricks
Posted 12-Aug-2019 20:47


Lightning Lab GovTech launches 2019 programme
Posted 12-Aug-2019 20:41


Epson launches portable laser projector
Posted 12-Aug-2019 20:27


Huawei launches new distributed HarmonyOS
Posted 12-Aug-2019 20:20


Lenovo introduces single-socket servers for edge and data-intensive workloads
Posted 9-Aug-2019 21:26



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.