Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
"Picture not found"
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 24, 2017 - 6:44 am

So - moving on - some more information.

The failure at save time will most probably be down to one of two things. The first - and the most unlikely - is that you have the php setting 'allow_url_fopen' turned off. Unlikely because as you have noted, using the TinyMCE insert image dialog, all is well.

So that leaves the more obvious and, I am sure, the correct reason. 

Simple:Press requires knowledge of the image at save time. In particular it requires details of the image dimensions. When you use the TinyMCE insert image dialog you will note that it fills the dimensions after you insert the URL to the image. The dimensions then get added as part of the image tag and all is well. In fact, if you open the TM editor and simply paste in the image url without using the dialog you will get the same result as using the bbCode editor.

I honestly do not know how TinyMCE retrieves image dimensions but it will be using JavaScript of course.

Simple:Press uses php and we call the php function getimagesize() to do this job. And that, I believe, is the source of your failure. My initial guess is that you do not have the getimagesize() function within your php build. The manual has always stated that this function is a part of core php but I believe this to be incorrect and I believe the GD graphics library is necessary for it to function.

So - as a starting point in solving this, I think you need to check if the GD library is installed in your php build. Your host support should know this.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626