[ckan-dev] File size limit for pdf preview

Rodrigo Parra rodpar07 at gmail.com
Thu Jul 10 15:59:54 UTC 2014


Hello Shao,

The limit is set by the ResourceProxy, we had to increase it recently too.
Have a look at this commit:
https://github.com/SENATICS/ckan/commit/446de0ab6470a8de859ddfaae11a1d5f2ed4ef50

Unfortunately, it requires changing CKAN source code. I've seen a github
issue about getting this limit from the conf file (can't find the issue
now), but I don't think it has been implemented yet.

As for the repercussions, I'm not sure of them and I think a CKAN team
member would be better suited to answer your question.
Regards,

Rodrigo


2014-07-10 7:20 GMT-04:00 Shao Ming Tan <tan.shaoming at newton-circus.com>:

> Dear CKAN Tech Team and all,
>
> I have recently enabled the pdf_preview plugin. It seems that there is a
> limit in the maximum file size that can be previewed.
>
> Please see the screenshot below.
>
> Wondering if any kind soul can point me to where I can increase the max
> file size and the possible repercussion of increasing this size past the
> limit.
>
> Thank you.
>
> Best,
> Shao
>
>
> [image: Inline image 1]
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140710/6df503ba/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _MPA__Hydrographs_Around_Singapore_-_Changi_To_Pulau_Mungging_and_Tanjung_Buntan_To_Tanjung_Tondang_-_DEX_and_admin-dex_--_ckan-dex.jpg
Type: image/jpeg
Size: 295779 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140710/6df503ba/attachment-0003.jpg>


More information about the ckan-dev mailing list