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
+1 received by user: 89


Topic # 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
1884 posts

Uber Geek
+1 received by user: 1029


  Reply # 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
+1 received by user: 89


  Reply # 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

9937 posts

Uber Geek
+1 received by user: 1496


Reply # 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
+1 received by user: 89


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

Still getting this error, still annoying...

Is the filter rrrreaallly necessary?



563 posts

Ultimate Geek
+1 received by user: 89


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

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

12607 posts

Uber Geek
+1 received by user: 5918

Trusted

  Reply # 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.

 

 It's our only home, lets clean it up then...

 

Take My Advice, Pull Down Your Pants And Slide On The Ice!

 

 




563 posts

Ultimate Geek
+1 received by user: 89


Reply # 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
+1 received by user: 89


  Reply # 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
60858 posts

Uber Geek
+1 received by user: 11727

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1112811 21-Aug-2014 13:29
Send private message

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







563 posts

Ultimate Geek
+1 received by user: 89


Reply # 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

9937 posts

Uber Geek
+1 received by user: 1496


  Reply # 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
+1 received by user: 89


  Reply # 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

9937 posts

Uber Geek
+1 received by user: 1496


  Reply # 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'
8117 posts

Uber Geek
+1 received by user: 1694

Trusted
Spark
Subscriber

  Reply # 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
+1 received by user: 89


  Reply # 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 »

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 »

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29


Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34



Geekzone Live »

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



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.