banner
阿珏酱

阿珏酱

乘上与平常相反的电车,去看看那未曾见过的风景
twitter
github
facebook
bilibili
zhihu
steam_profiles
youtube

Lightweight Sina Image Hosting Program Fantasy Domain 1.0 Released

Tips: When you see this prompt, it indicates that the current article has been migrated from the original emlog blog system. The publication date of the article is quite old, and the formatting and content may not be complete. Please understand.

Lightweight Sina Image Hosting Program Fantasy Field 1.0 Released

Date: 2018-3-8 Aque Code Tinkering Views: 30962 Comments: 117

Wow, finally there is an image hosting service of my own.
Fantasy Field is a lightweight Sina image hosting system developed using PHP.
Its birth is not the final solution; the purpose of developing it is to make it convenient for personal use.
Project Homepage
Project Address

System Introduction #

In Fantasy Field, all images are hosted on Sina Cloud, and each image has multiple different levels of thumbnails. This is one of the biggest features of Fantasy Field.
It has a relatively complete user system and administrator system. Administrators have full permissions in the backend for all basic configurations of the website.
My Gallery will list all images uploaded by the user, while the administrator will display all images hosted by the system. You can delete, preview, or copy the images here, but deletion only means that they will no longer appear in this system; the images still exist on Sina, and you should be aware of this.
Explore, it is the front-end feature for users to preview images, where you can discover and find what you need. If you don't need it, you can turn off the settings in the backend.
Uploading to the Sina image hosting service is not without requirements; it requires you to log in for verification, but we have an independent Sina login program that does not rely on any extensions, and there is no captcha. The cookie expiration will automatically log you in, solving all your worries. Therefore, you must set your Sina account password in the backend to use it normally.

#

Latest Official Version

Download Now


You need to unzip the source code of Fantasy Field and upload it to the root directory of the website. Accessing the website domain will automatically redirect to the installation program, and you can install it according to the wizard prompts. If it does not redirect, please manually visit http://your-domain/install.php to install.
After the first successful installation, you need to log in to the administrator backend to perform some basic configurations for the image hosting service before you can use it.
Backend address: http://your-domain/admin But ironically, you need to log in from the front end.

Environment Support #

Please note, Fantasy Field only supports PHP version ≥5.6 since version 1.0. Please make sure to update your PHP version.

Independent image preview interface on the front end
One-click generation of HTML, bbs, and other codes
Features like hottest, search, random, classification, etc.
Integrated short URL system
......... and more
They will all be supported in future versions.
If you have better suggestions or feedback on bugs, you can leave a message here or send an email to [email protected].


The non-commercial version of Fantasy Field is released under the GPL license and its associated terms, summarized as follows:

Must comply with: #

  • Include the GPL V3 license in the version you modify and open source.

Your rights: #

  • Freedom to download and use Fantasy Field
  • Include Fantasy Field in a new open source project
  • Modify the source code
  • Distribute the original version of Fantasy Field unchanged

Prohibited actions: #

  • Use Fantasy Field for commercial purposes
  • Remove or alter copyright information in the program
  • Sell the original or modified versions for commercial purposes
image
image image image image image image


User Comments:

image 23 1 year ago (2020-04-03)
Can't I upload to my own server? It has to be on Sina?

image Chen 2 years ago (2019-06-02)
I can't refresh the captcha, so I can't log in, and I can't access the backend. What should I do?

image Chen 2 years ago (2019-06-02)
@Chen: Okay, I got it, solved it.

image pony 2 years ago (2019-05-03)
Sina has already enabled anti-hotlinking, it's useless.

image rsgdxp 2 years ago (2019-04-20)
It would be great if we could add watermarks. The registration verification here is quite strict, and real-name authentication is even more intense.

image Aque 2 years ago (2019-04-21)
@rsgdxp: Watermarks can be extended by yourself if you know how [#wb_doge]
I also think this real-name verification is quite intense.

image Zhou Xingxing 2 years ago (2019-04-20)
[#This comment is private]

image Zhou Xingxing 2 years ago (2019-04-20)
@Zhou Xingxing: My current situation is following the installation steps above, and now I'm at the step of binding the email and binding the Weibo account. Due to Alibaba Cloud student machine ECS not being able to open port 25, I can't receive emails and I'm stuck at this step. I want to ask how to change it.

image QQ Account Error 2 years ago (2019-04-08)
I can't even copy the pseudo-static, I'm so confused~

image Passerby A 2 years ago (2019-04-03)
Aque, can you share the captcha module you are currently using? [#aru_17]

image Aque 2 years ago (2019-04-03)
@Passerby A: It's in there, just call it out and you can use it, it's self-written.

image Passerby A 2 years ago (2019-04-05)
@Aque: [#grin][#grin] I mean, can the one you are currently using also work?

image vcrad 2 years ago (2019-03-27)
It would be great if I could upload without logging in.

image Rainshaw 2 years ago (2019-03-14)
Although the upload was successful, I can't see the images in my Sina Weibo album...
Where did the upload go?
Isn't it the Sina account filled in the backend? [#aru_92]

image Aque 2 years ago (2019-03-15)
@Rainshaw: People are asking because they can't upload successfully, and you're still worried after a successful upload.

image Rainshaw 2 years ago (2019-03-15)
@Aque: What if someone uploads bad images? They need to be deleted. [#aru_2]

image Aque 2 years ago (2019-03-16)
@Rainshaw: You don't need to worry about that; Sina will handle it.

image I am Passerby A 2 years ago (2019-03-11)
After installation, the captcha has issues, which prevents me from logging in.

image Nan Qiao. Weiskada 2 years ago (2019-03-11)
@I am Passerby A: It seems you need to add an index.php at the front.

image I am Passerby A 2 years ago (2019-03-22)
@Nan Qiao. Weiskada: I'll try to see if it works.

image wc7086 2 years ago (2019-03-04)
Some pages are not friendly to Chrome on Android; other browsers have not been tested.

image Edge Fish 2 years ago (2019-02-26)
How to solve the captcha error when logging in?

image Nan Qiao. Weiskada 2 years ago (2019-03-12)
@Edge Fish: http://qqexit.com/index.php/archives/149.html This can be solved.

image Mua 2 years ago (2019-01-19)
How to enable one-click generation of HTML code?

image Cangshui 2 years ago (2019-01-07)
Your image station's HTTPS certificate has expired!

image Aque 2 years ago (2019-01-08)
@Cangshui: It's okay now.

image Thtomatic 3 years ago (2019-01-05)
Is it possible to develop this program further?

image Aque 3 years ago (2019-01-06)
@Thtomatic: Just follow the GPL2.0 license.

image . 3 years ago (2019-01-04)
[#This comment is private]

image Aque 3 years ago (2019-01-04)
@.: Where did you come from? A few seconds.

image Huangxin 3 years ago (2018-12-19)
The blogger keeps saying "Go to my blog to see," "Go to the next article to see," "There is already a summary post," but your blog has no previous or next articles and also hijacks the right-click. I really can't find it! The image hosting program is good, but can you please write all the necessary things like pseudo-static in the README.md or write a wiki? That would be great.

image Mua 3 years ago (2018-12-01)
May I ask the blogger, how can I add the image hyperlink code before and after the generated link?
Like this [img]link.jpg[/img]

image Beimu. 3 years ago (2018-11-22)
How to deal with the captcha?

image Unique 3 years ago (2018-11-13)
What are the pseudo-static rules?

image Xiao Mu 3 years ago (2018-10-31)
It can be said that it has solved some of the image-related troubles for webmasters, which is great.
I have reposted it: https://www.npc.ink/2954.html

image Fan Mingming 3 years ago (2018-07-20)
May I ask the big guy, how to solve the problem of the captcha not displaying? And where to log in to the backend?

image Sora ni Yume 3 years ago (2018-07-01)
Can this data be saved on my own server?

image Aque 3 years ago (2018-07-02)
@Sora ni Yume: What do you mean?

image Anonymous 3 years ago (2018-06-29)
How to remove the captcha if I don't know how to do pseudo-static?

image Aque 3 years ago (2018-06-30)
@Anonymous: If you want to remove the captcha because you don't have pseudo-static, the subsequent functions will also not work properly.

image Yongyu 3 years ago (2018-05-27)
The captcha not displaying is due to not being set up properly? How to solve it?

image Gu Yun Blog 3 years ago (2018-05-27)
@Yongyu: It has been tested and found that it is due to the lack of pseudo-static.

image liulin.in 3 years ago (2018-05-24)
An exception occurred when requesting the upload interface....

image Dream Chasing Dream 3 years ago (2018-04-29)
The source code has been bound away. [#wb_dog3]

image Nianhua 3 years ago (2018-04-04)
I want to provide feedback on a bug.
In the backend,
the footer information on the homepage
When using hyperlink, spaces will turn into placeholders  

image Aque 3 years ago (2018-04-05)
@Nianhua: This is for security reasons; everything will be converted to entities, but it does not affect the actual effect.

image Nianhua 3 years ago (2018-03-31)
The avatar system seems to have some issues.
After changing the avatar once, I couldn't change it the second time...

image Aque 3 years ago (2018-04-05)
@Nianhua: This is a caching issue, not a bug.

image Nianhua 3 years ago (2018-03-31)
It's fixed.
It feels like a syntax error.
In ValidateCode.class.php, change the line "// for randomly outputting strings" after $str_arr="" to
$str_arr = array();
and it works normally.
PHP environment 7.1

image Aque 3 years ago (2018-03-31)
@Nianhua: As PHP is a weakly typed language, such issues should not exist. I will check the avatar issue.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.