Author Topic: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!  (Read 152 times)

Asher Hurowitz

  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • The Founder and Administrator of the Forum
    • View Profile
FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« on: January 26, 2018, 09:34:08 pm »
Unfortunately according to the forum logistics it says we have almost completely taken up our allotted forum attachment space. I don't think it would be right to delete posts. What should I do?
« Last Edit: January 26, 2018, 09:53:49 pm by Asher Hurowitz »
Indeed it is certain that Chess Variants make me happy.

My Youtube Channel on Chess Variants
https://www.youtube.com/channel/UCb-lm6a8XZo0eqAhfR4QWOg

My Lecture at Yale University, aged 13
https://www.youtube.com/watch?v=smDO2Dpx5tg

My Youtube Channel on Rubik's Cube
Search"Polyhedral Paradise"

Share on Facebook Share on Twitter


GothicChessInventor

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« Reply #1 on: January 26, 2018, 11:04:30 pm »
Have everyone use an image hosting site and don't attach images directly. Just show thumbnails.

Ask then to change their posts one at a time and delete the attachments once the hosting site shows the images ok.

HGMuller

  • Global Moderator
  • Full Member
  • *****
  • Posts: 121
    • View Profile
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« Reply #2 on: January 27, 2018, 10:12:12 am »
It would be useful to make an inventory of which fraction of the allotted space is taken up by which type of images. And then try to find alteratives for the most demanding categories.

My guess is that whole-board images of chess positions take up a pretty large amount of space, and posting one for every position in a game would be prohibitively expensive. In any case it is a huge waste of storage space and bandwidth, as the information contained in them could have been encoded in a very small text description (like FEN), to be expanded to an image in the client browser. This is how most Chess forums solve it. (E.g. on TalkChes you just put the FEN preceded by a [d] tag in your posting, to get a diagram. Or a PGN game between [pgn][/pgn] tags to get an interactive board where you can step through the game.
« Last Edit: January 27, 2018, 01:02:31 pm by HGMuller »

chilipepper

  • Full Member
  • ***
  • Posts: 100
  • chilipepper
  • Location: U.S.
    • View Profile
    • QyiQ23607 Pisano
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« Reply #3 on: January 27, 2018, 07:29:06 pm »
Asher, are you sure that almost all the allotted space has been used? That's surprising to me.

I know that this isn't YouTube or Flickr, but those sites (with advertising supported by page views) allow anyone to post any photo or video, seemingly without a limit.

I use Flickr, and often post high-resolution photos. One such photo uses more memory than an entire chess game encoded in images (1 image/move x 100 moves). When I check Flickr (free-membership) it always says that I've used 0.0% of my 1TB of free memory. And Flickr allows videos too (which I presume use more memory than photos):

https://www.flickr.com/photos/148997126@N03/24525422338/

I also often visit this site:

https://www.cloudynights.com/forum/135-north-american-total-solar-eclipse-2017/

Which also allows uploading astronomy photos (by anyone for free). Does anyone know how that site is supported?

Are there other options?
« Last Edit: January 28, 2018, 10:57:39 am by chilipepper »
the "chilipepper"👹

chilipepper

  • Full Member
  • ***
  • Posts: 100
  • chilipepper
  • Location: U.S.
    • View Profile
    • QyiQ23607 Pisano
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« Reply #4 on: February 12, 2018, 02:54:06 pm »
I'm getting an error when trying to upload images - even a small 50x50 pixel image of one chess piece.

I had the problem when trying to submit a chess variant, and also here when trying to upload a single image.

The message I get is: "An Error Has Occurred! - The upload folder is full. Please try a smaller file and/or contact an administrator."

Let me know if there is anything I can do. Thanks. ???
the "chilipepper"👹

HGMuller

  • Global Moderator
  • Full Member
  • *****
  • Posts: 121
    • View Profile
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« Reply #5 on: February 13, 2018, 12:10:34 pm »
I have discovered that this website has a support forum, and after I registered and posted a queston there they deliver prompt service ( https://support.createaforum.com/8/adding-javascript-powered-features-to-forum-posts/ ).

What it boils down to is that the admin of this board should put a line in the header or footer (in the way described there) to invoke the JavaScript that would expand any diagrams included in postings. I am sure I can easily supply a script that does the job, but for testing purposes it would be best to make the link point to a script on my website, so that I can debug it without assistance from the admins here. Once it works fully satisfactory, we can have the script itself, and the individual piece images it draws on, hosted on this website, and chage the link in the header/footer to point to that.

The link I would need initially in the header is

<script type="text/javascript" src="http://hgm.nubati.net/variants/CVF.js"></script>

Let me know whe this has been placed, then I will create diagram support.

« Last Edit: February 13, 2018, 03:47:57 pm by HGMuller »

GothicChessInventor

  • Full Member
  • ***
  • Posts: 175
    • View Profile
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« Reply #6 on: February 13, 2018, 09:25:48 pm »
I have discovered that this website has a support forum, and after I registered and posted a queston there they deliver prompt service ( https://support.createaforum.com/8/adding-javascript-powered-features-to-forum-posts/ ).

What it boils down to is that the admin of this board should put a line in the header or footer (in the way described there) to invoke the JavaScript that would expand any diagrams included in postings. I am sure I can easily supply a script that does the job, but for testing purposes it would be best to make the link point to a script on my website, so that I can debug it without assistance from the admins here. Once it works fully satisfactory, we can have the script itself, and the individual piece images it draws on, hosted on this website, and chage the link in the header/footer to point to that.

The link I would need initially in the header is

<script type="text/javascript" src="http://hgm.nubati.net/variants/CVF.js"></script>

Let me know whe this has been placed, then I will create diagram support.

Good job H.G.! That is exactly what we need here!

HGMuller

  • Global Moderator
  • Full Member
  • *****
  • Posts: 121
    • View Profile
Re: FORUM ANNOUNCEMENT: ATTACHMENT FILE HUGE PROBLEM!!!
« Reply #7 on: February 14, 2018, 04:11:44 am »
Well, the job still has to be done. The diagram script already exists (I use it on chessvariants.com to post diagrams), but it scans the page for 'anchors' in HTML of the form
<div class="idiagram"></div> enclosing with the diagram. It doesn't seem we can post HTML directly here, though (unlike chessvariants.com). So I will adapt the script to just do an initial pass over the page for HTML elements with class="post" (which is how the forum software wraps the text of individual postings), exract the text, and scan each such text for [diag][/diag] BBcode-style tags, replacing those by <div class="idiagram"></div> HTML tags, before running the existing script to expand the latter.

But I cannot do anything if the forum header here would not invoke the script. I have no admin permissions on this board.

chilipepper

  • Full Member
  • ***
  • Posts: 100
  • chilipepper
  • Location: U.S.
    • View Profile
    • QyiQ23607 Pisano
Does anyone know the status of our ability to post diagrams to this forum?

I know we can use external image hosting websites (post images externally, and link to images here). I find that to be somewhat cumbersome and inconvenient. Has it been settled that this is the permanent method for posting diagrams and illustrations here? ???
the "chilipepper"👹

HGMuller

  • Global Moderator
  • Full Member
  • *****
  • Posts: 121
    • View Profile
The status is "no progress, and not being worked on". Creating this possibility requires an action of the board admin.

Asher Hurowitz

  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • The Founder and Administrator of the Forum
    • View Profile
The status is "no progress, and not being worked on". Creating this possibility requires an action of the board admin.

I am working on it. I work very hard on this forum constantly and this is on the top of my to-do list.
Indeed it is certain that Chess Variants make me happy.

My Youtube Channel on Chess Variants
https://www.youtube.com/channel/UCb-lm6a8XZo0eqAhfR4QWOg

My Lecture at Yale University, aged 13
https://www.youtube.com/watch?v=smDO2Dpx5tg

My Youtube Channel on Rubik's Cube
Search"Polyhedral Paradise"

chilipepper

  • Full Member
  • ***
  • Posts: 100
  • chilipepper
  • Location: U.S.
    • View Profile
    • QyiQ23607 Pisano
Thanks Asher. :)
the "chilipepper"👹

John_Lewis

  • Newbie
  • *
  • Posts: 47
    • View Profile